Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{"question":"Who is the wife of Donald Trump?","message":"InvalidQuestionException: the question you input is invalid, please check","status":"500"} #61

Open
zhijie-yan opened this issue Jun 26, 2021 · 1 comment

Comments

@zhijie-yan
Copy link

您好,我在按照教程运行ganswer时,输入http://localhost:9999/gSolve/?data={"maxAnswerNum":1, "maxSparqlNum":2, "question":Who is the wife of Donald Trump?}得到的结果如标题所示,这并不是我想要的结果;请问如果我只想要将中文查询语句转换成sparql语句的话,应该如何使用gAnswer?

@knightmarehs
Copy link
Member

如果只想得到sparql语句,可以参考readme中Run GAnswer in Eclipse一节,修改GAnswer.java中对应代码以略过查询步骤。
目前版本还不支持中文处理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants