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

请问"message":"Unkown Exception","status":"500"怎么解决 #33

Open
veronic opened this issue Dec 7, 2019 · 0 comments
Open

请问"message":"Unkown Exception","status":"500"怎么解决 #33

veronic opened this issue Dec 7, 2019 · 0 comments

Comments

@veronic
Copy link

veronic commented Dec 7, 2019

通过http请求使用GAnswer:
http://localhost:9999/gSolve/?data={maxAnswerNum:1, maxSparqlNum:2, question:Who is the wife of Donald Trump?}
返回的是:
{"question":"Who is the wife of Donald Trump?","message":"Unkown Exception","status":"500"}

后台日志:
[Input:] Who is the wife of Donald Trump?
EntityRecognizer Initial : ok!
--------- entity/type recognition start ---------
Type Check: wife
Type Check: Donald
Ent Check: Donald
DBpediaLookup find: [David Cameron, Thor (Marvel Comics), New Statesman, Donald Duck, Donald Bradman], Drop Donald_Bradman because it not in Entity Dictionary. DBpediaLookup select: [David_Cameron(40.0), Thor_(Marvel_Comics)(38.0), New_Statesman(36.0), Donald_Duck(34.0)]
Type Check: Trump
Ent Check: Trump
DBpediaLookup find: [Donald Trump, Last Judgment, Suit (cards), Boardwalk Hall, Jew's harp], Drop Last_Judgment because it not in Entity Dictionary. Drop Suit_(cards) because it not in Entity Dictionary. Drop Jew's_harp because it not in Entity Dictionary. DBpediaLookup select: [Donald_Trump(40.0), Boardwalk_Hall(38.0)]
Type Check: Donald_Trump
Ent Check: Donald_Trump
DBpediaLookup find: [Donald Trump, Donald Trump, Jr., Trump Model Management, Donald J. Trump State Park, Donald Trump (song)], DBpediaLookup select: [Donald_Trump(40.0), Donald_Trump,Jr.(38.0), Trump_Model_Management(36.0), Donald_J.Trump_State_Park(34.0), Donald_Trump(song)(32.0)]
Type Check: wife_of_Donald
Type Check: the_wife_of_Donald
Type Check: wife_of_Donald_Trump
Ent Check: wife_of_Donald_Trump
Type Check: the_wife_of_Donald_Trump
Ent Check: the_wife_of_Donald_Trump
------- Result ------
Detect entity mapping: Donald: [
David_Cameron, Thor
(Marvel_Comics), Donald_Lu, New_Statesman, Donald_Duck, Donald_Sur, Donald_Rix, Donald_Zec, Donald_May, Donald_Box, ]
Detect entity mapping: Trump: [
Donald_Trump, Boardwalk_Hall, Jay_Trump, Len_Trump, Eric_Trump, Trump_SoHo, Tone_Trump, Judd_Trump, Fred_Trump, Kelly_Trump, ]
Detect entity mapping: Donald_Trump: [
Donald_Trump, Donald_Trump, Donald_Trump,_Jr., Trump_Model_Management, Donald_J.Trump_State_Park, Donald_Trump(song), Donald_Trump_Jr., Donald_Trump,Jr., Donald_Trump(song), Donald_Trump_presidential_campaign,_2016, ]
Merged: Who is the wife of Donald_Trump ?
Total check time: 3982ms
--------- pre entity/type recognition end ---------
step0 [Node Recognition] : 3984ms
transQ: Who is the wife of Donald_Trump ?
====StanfordDependencies(8ms)====
-> be-VBZ (root)[2]
-> wife-NN (nsubj)[4]
-> of-IN (prep)[5]
-> donald_trump-NN (pobj)[6]
-> the-DT (det)[3]
-> who-WP (attr)[1]

====MaltDependencies(1ms)====
-> be-VBZ (root)[2]
-> wife-NN (nsubj)[4]
-> of-IN (prep)[5]
-> donald_trump-NN (pobj)[6]
-> the-DT (det)[3]
-> who-WP (attr)[1]

====NameEntityRecognition(0ms)====
Who[1] ner=null
is[2] ner=null
the[3] ner=null
wife[4] ner=null
of[5] ner=null
Donald_Trump[6] ner=null
?[7] ner=null
Shortest Path between <wife-NN(nsubj)[4]> and <Donald_Trump-NN(pobj)[6]>:
-<wife-NN(nsubj)[4]>-<of-IN(prep)[5]>-<Donald_Trump-NN(pobj)[6]>-
==========Group Simple Relations=========

Check query graph count: 70
Pass single check: 0
Pass final check: 0
TopkJoin time=0
number of rankedSparqls = 0

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
@veronic and others