You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
但发送请求 : http://ip:port/gSolve/?data={maxAnswerNum:3,%20maxSparqlNum:2,%20question:Who%20is%20the%20wife%20of%20Donald%20Trump?}
返回结果如下:
{"question":"Who is the wife of Donald Trump?","vars":["?wife"],"sparql":["select DISTINCT ?wife where { \t\t?wife. } LIMIT 3"],"results":{"bindings":[{"?wife":{"type":"uri","value":""}},{"?wife":{"type":"uri","value":""}},{"?wife":{"type":"uri","value":""}}]},"status":"200"}
返回结果中value为空,但是我看后台输出日志里面,实际已经查询到了结果,如下:
==========Group Simple Relations=========
按照文档进行jar包部署,且出现了"Server Ready!"。
但发送请求 :
http://ip:port/gSolve/?data={maxAnswerNum:3,%20maxSparqlNum:2,%20question:Who%20is%20the%20wife%20of%20Donald%20Trump?}
返回结果如下:
{"question":"Who is the wife of Donald Trump?","vars":["?wife"],"sparql":["select DISTINCT ?wife where { \t\t?wife. } LIMIT 3"],"results":{"bindings":[{"?wife":{"type":"uri","value":""}},{"?wife":{"type":"uri","value":""}},{"?wife":{"type":"uri","value":""}}]},"status":"200"}
返回结果中value为空,但是我看后台输出日志里面,实际已经查询到了结果,如下:
==========Group Simple Relations=========
Check query graph count: 80
Pass single check: 2
Pass final check: 3
TopkJoin time=3
number of rankedSparqls = 3
parameter: ?operation=query&username=root&password=123456&db_name=dbpedia16&format=txt&sparql=select DISTINCT ?wife where { <Donald_Trump> ?wife. } LIMIT 3
request: http://dbpedia16.gstore-pku.com:80/%3Foperation%3Dquery%26username%3Droot%26password%3D123456%26db_name%3Ddbpedia16%26format%3Dtxt%26sparql%3Dselect+DISTINCT+%3Fwife++where+%7B+%3CDonald_Trump%3E%09%3Cspouse%3E%09%3Fwife.+%7D+LIMIT+3
?wife
<Ivana_Trump>
<Melania_Trump>
<Marla_Maples>
ansNum=3
varNum=1
rawLines.length=4
Revise Answers:
line=?wife:<Ivana_Trump>
line=?wife:<Melania_Trump>
line=?wife:<Marla_Maples>
3
?wife:<Ivana_Trump>
?wife:<Melania_Trump>
?wife:<Marla_Maples>
看日志实际是有结果的,但是http请求看到的结果为空
The text was updated successfully, but these errors were encountered: