Simple Question (Direct)
Simple Question
Q5740264
P21
Q290
USER
Which sex does Herman Thorp belong to ?
(Q5740264,P21,c(Q290))
action filter_type
action find
entity Q5740264
relation P21
type Q290
['Q5740264', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q5740264 property:P21 ?o }
Herman Thorp
action filter_type
action find
entity Herman Thorp
relation gender
type sex
['Herman Thorp', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Herman_Thorp property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5740264,P21,c(Q290))
action filter_type
action find
entity Q5740264
relation P21
type Q290
To [ANSWER] does Herman Thorp belong to
['Q5740264', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q5740264 property:P21 ?o }
male
To male does Herman Thorp belong to
male
action filter_type
action find
entity Herman Thorp
relation gender
type sex
['Herman Thorp', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Herman_Thorp property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5740264
P102
Q7210356
USER
Which parties do Herman Thorp belong to ?
(Q5740264,P102,c(Q7210356))
action filter_type
action find
entity Q5740264
relation P102
type Q7210356
['Q5740264', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q5740264 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Herman Thorp
action filter_type
action find
entity Herman Thorp
relation member of political party
type political organization
['Herman Thorp', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Herman_Thorp property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Q29552 Q29468
SYSTEM
Democratic Party, Republican Party
Q29552 Q29468
(Q5740264,P102,c(Q7210356))
action filter_type
action find
entity Q5740264
relation P102
type Q7210356
[ANSWERS] do Herman Thorp belong to
['Q5740264', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q5740264 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Democratic Party Republican Party
Democratic Party and Republican Party do Herman Thorp belong to
Democratic Party Republican Party
action filter_type
action find
entity Herman Thorp
relation member of political party
type political organization
['Herman Thorp', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Herman_Thorp property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7287985
P102
Q502895
USER
Does Ralph R. Caputo belong to the political party those ones ?
(Q7287985,P102,Q29552) (Q7287985,P102,Q29468)
action is_in
entity prev_answer
action find
entity Q7287985
relation P102
['Q7287985', 'P102', 'Q29552'] ['Q7287985', 'P102', 'Q29468']
ASK WHERE { resource:Q7287985 property:P102 ?j . VALUES ( ?j ) { ( resource:Q29552 ) ( resource:Q29468 ) } }
Ralph R. Caputo
action is_in
entity prev_answer
action find
entity Ralph R. Caputo
relation member of political party
['Ralph R. Caputo', 'member of political party', 'Democratic Party'] ['Ralph R. Caputo', 'member of political party', 'Republican Party']
ASK WHERE { resource:Ralph_R._Caputo property:member_of_political_party ?j . VALUES ( ?j ) { ( resource:Democratic_Party ) ( resource:Republican_Party ) } }
[]
common name
SYSTEM
YES
(Q7287985,P102,Q29552) (Q7287985,P102,Q29468)
action is_in
entity prev_answer
action find
entity Q7287985
relation P102
[ANSWER]
['Q7287985', 'P102', 'Q29552'] ['Q7287985', 'P102', 'Q29468']
ASK WHERE { resource:Q7287985 property:P102 ?j . VALUES ( ?j ) { ( resource:Q29552 ) ( resource:Q29468 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ralph R. Caputo
relation member of political party
['Ralph R. Caputo', 'member of political party', 'Democratic Party'] ['Ralph R. Caputo', 'member of political party', 'Republican Party']
ASK WHERE { resource:Ralph_R._Caputo property:member_of_political_party ?j . VALUES ( ?j ) { ( resource:Democratic_Party ) ( resource:Republican_Party ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6810356 Q5740264
P27
Q15617994
USER
Which administrative territories do Herman Thorp or Meitatsu Yagi belong to ?
OR((Q5740264,P27,c(Q15617994)), (Q6810356,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5740264
relation P27
action find
entity Q6810356
relation P27
type Q15617994
{'OR': [['Q5740264', 'P27', {'concept': 'Q15617994'}], ['Q6810356', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { ?n property:P27 ?z . VALUES ( ?n ) { ( resource:Q6810356 ) ( resource:Q5740264 ) } } . ?z rdf:type ontology:Q15617994 }
Meitatsu Yagi Herman Thorp
action filter_type
action union
action find
entity Herman Thorp
relation country of citizenship
action find
entity Meitatsu Yagi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Herman Thorp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Meitatsu Yagi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?n property:country_of_citizenship ?z . VALUES ( ?n ) { ( resource:Meitatsu_Yagi ) ( resource:Herman_Thorp ) } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q30
SYSTEM
Japan, United States of America
Q17 Q30
OR((Q5740264,P27,c(Q15617994)), (Q6810356,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5740264
relation P27
action find
entity Q6810356
relation P27
type Q15617994
[ANSWERS] do Herman Thorp or Meitatsu Yagi belong to
{'OR': [['Q5740264', 'P27', {'concept': 'Q15617994'}], ['Q6810356', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { ?n property:P27 ?z . VALUES ( ?n ) { ( resource:Q6810356 ) ( resource:Q5740264 ) } } . ?z rdf:type ontology:Q15617994 }
Japan United States of America
Japan and United States of America do Herman Thorp or Meitatsu Yagi belong to
Japan United States of America
action filter_type
action union
action find
entity Herman Thorp
relation country of citizenship
action find
entity Meitatsu Yagi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Herman Thorp', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Meitatsu Yagi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?n property:country_of_citizenship ?z . VALUES ( ?n ) { ( resource:Meitatsu_Yagi ) ( resource:Herman_Thorp ) } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1418585
P17
Q1183543
USER
Are Fiorano GT Challenge located in those administrative territories ?
(Q1418585,P17,Q17) (Q1418585,P17,Q30)
action is_in
entity prev_answer
action find
entity Q1418585
relation P17
['Q1418585', 'P17', 'Q17'] ['Q1418585', 'P17', 'Q30']
ASK WHERE { VALUES ( ?n ) { ( resource:Q17 ) ( resource:Q30 ) } . resource:Q1418585 property:P17 ?n }
Fiorano GT Challenge
action is_in
entity prev_answer
action find
entity Fiorano GT Challenge
relation country
['Fiorano GT Challenge', 'country', 'Japan'] ['Fiorano GT Challenge', 'country', 'United States of America']
ASK WHERE { VALUES ( ?n ) { ( resource:Japan ) ( resource:United_States_of_America ) } . resource:Fiorano_GT_Challenge property:country ?n }
[]
device
SYSTEM
NO
(Q1418585,P17,Q17) (Q1418585,P17,Q30)
action is_in
entity prev_answer
action find
entity Q1418585
relation P17
[ANSWER]
['Q1418585', 'P17', 'Q17'] ['Q1418585', 'P17', 'Q30']
ASK WHERE { VALUES ( ?n ) { ( resource:Q17 ) ( resource:Q30 ) } . resource:Q1418585 property:P17 ?n }
No
action is_in
entity prev_answer
action find
entity Fiorano GT Challenge
relation country
['Fiorano GT Challenge', 'country', 'Japan'] ['Fiorano GT Challenge', 'country', 'United States of America']
ASK WHERE { VALUES ( ?n ) { ( resource:Japan ) ( resource:United_States_of_America ) } . resource:Fiorano_GT_Challenge property:country ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17 Q132345
P6
Q502895
USER
Does Japan serve as the head of government for Shinzō Abe ?
(Q17,P6,Q132345)
action is_in
entity Q132345
action find
entity Q17
relation P6
['Q17', 'P6', 'Q132345']
ASK WHERE { resource:Q17 property:P6 resource:Q132345 }
Japan Shinzō Abe
action is_in
entity Shinzō Abe
action find
entity Japan
relation head of government
['Japan', 'head of government', 'Shinzō Abe']
ASK WHERE { resource:Japan property:head_of_government resource:Shinzō_Abe }
[]
common name
SYSTEM
YES
(Q17,P6,Q132345)
action is_in
entity Q132345
action find
entity Q17
relation P6
[ANSWER]
['Q17', 'P6', 'Q132345']
ASK WHERE { resource:Q17 property:P6 resource:Q132345 }
Yes
action is_in
entity Shinzō Abe
action find
entity Japan
relation head of government
['Japan', 'head of government', 'Shinzō Abe']
ASK WHERE { resource:Japan property:head_of_government resource:Shinzō_Abe }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q29552 Q7824953
P17
Q15617994
USER
Is Democratic Party a part of Topock Elementary School District ?
(Q29552,P17,Q7824953)
action is_in
entity Q7824953
action find
entity Q29552
relation P17
['Q29552', 'P17', 'Q7824953']
ASK WHERE { resource:Q29552 property:P17 resource:Q7824953 }
Democratic Party Topock Elementary School District
action is_in
entity Topock Elementary School District
action find
entity Democratic Party
relation country
['Democratic Party', 'country', 'Topock Elementary School District']
ASK WHERE { resource:Democratic_Party property:country resource:Topock_Elementary_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q29552,P17,Q7824953)
action is_in
entity Q7824953
action find
entity Q29552
relation P17
[ANSWER]
['Q29552', 'P17', 'Q7824953']
ASK WHERE { resource:Q29552 property:P17 resource:Q7824953 }
No
action is_in
entity Topock Elementary School District
action find
entity Democratic Party
relation country
['Democratic Party', 'country', 'Topock Elementary School District']
ASK WHERE { resource:Democratic_Party property:country resource:Topock_Elementary_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5740264 Q53730
P27
Q15617994
USER
Does Herman Thorp belong to Taverna, Calabria ?
(Q5740264,P27,Q53730)
action is_in
entity Q53730
action find
entity Q5740264
relation P27
['Q5740264', 'P27', 'Q53730']
ASK WHERE { resource:Q5740264 property:P27 resource:Q53730 }
Herman Thorp Taverna, Calabria
action is_in
entity Taverna, Calabria
action find
entity Herman Thorp
relation country of citizenship
['Herman Thorp', 'country of citizenship', 'Taverna, Calabria']
ASK WHERE { resource:Herman_Thorp property:country_of_citizenship resource:Taverna,_Calabria }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5740264,P27,Q53730)
action is_in
entity Q53730
action find
entity Q5740264
relation P27
[ANSWER]
['Q5740264', 'P27', 'Q53730']
ASK WHERE { resource:Q5740264 property:P27 resource:Q53730 }
No
action is_in
entity Taverna, Calabria
action find
entity Herman Thorp
relation country of citizenship
['Herman Thorp', 'country of citizenship', 'Taverna, Calabria']
ASK WHERE { resource:Herman_Thorp property:country_of_citizenship resource:Taverna,_Calabria }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5740264
P39
Q12737077
USER
What were the positions for which that person were appointed ?
action filter_type
action find
entity Q5740264
relation P39
type Q12737077
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q5740264 property:P39 ?y }
Herman Thorp
action filter_type
action find
entity Herman Thorp
relation position held
type occupation
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Herman_Thorp property:position_held ?y }
[]
occupation
Q17602055 Q18526160
SYSTEM
member of the State Senate of Wisconsin, member of the Wisconsin State Assembly
Q17602055 Q18526160
action filter_type
action find
entity Q5740264
relation P39
type Q12737077
[ANSWERS]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q5740264 property:P39 ?y }
member of the State Senate of Wisconsin member of the Wisconsin State Assembly
Member of the State Senate of Wisconsin and member of the Wisconsin State Assembly
member of the State Senate of Wisconsin member of the Wisconsin State Assembly
action filter_type
action find
entity Herman Thorp
relation position held
type occupation
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Herman_Thorp property:position_held ?y }
[]