Simple Question (Direct)
Simple Question
Q4700950
P106
Q12737077
USER
Which occupation has Akihito Motohashi as his/her 's career ?
(Q4700950,P106,c(Q12737077))
action filter_type
action find
entity Q4700950
relation P106
type Q12737077
['Q4700950', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q4700950 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Akihito Motohashi
action filter_type
action find
entity Akihito Motohashi
relation occupation
type occupation
['Akihito Motohashi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Akihito_Motohashi property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q2309784
SYSTEM
sport cyclist
Q2309784
(Q4700950,P106,c(Q12737077))
action filter_type
action find
entity Q4700950
relation P106
type Q12737077
As [ANSWER] has Akihito Motohashi as his/her 's career
['Q4700950', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q4700950 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
sport cyclist
As sport cyclist has Akihito Motohashi as his/her 's career
sport cyclist
action filter_type
action find
entity Akihito Motohashi
relation occupation
type occupation
['Akihito Motohashi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Akihito_Motohashi property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4700950
P21
Q290
USER
Which sex does that person have ?
(Q2309784,P21,c(Q290))
action filter_type
action find
entity Q4700950
relation P21
type Q290
['Q2309784', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4700950 property:P21 ?v . ?v rdf:type ontology:Q290 }
Akihito Motohashi
action filter_type
action find
entity Akihito Motohashi
relation gender
type sex
['sport cyclist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Akihito_Motohashi property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2309784,P21,c(Q290))
action filter_type
action find
entity Q4700950
relation P21
type Q290
That person has a [ANSWER]
['Q2309784', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4700950 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Akihito Motohashi
relation gender
type sex
['sport cyclist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Akihito_Motohashi property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4700950
P641
Q31629
USER
Which type of sport was that person a part of ?
(Q6581097,P641,c(Q31629))
action filter_type
action find
entity Q4700950
relation P641
type Q31629
['Q6581097', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { resource:Q4700950 property:P641 ?z . ?z rdf:type ontology:Q31629 }
Akihito Motohashi
action filter_type
action find
entity Akihito Motohashi
relation sport
type type of sport
['male', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { resource:Akihito_Motohashi property:sport ?z . ?z rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q6581097,P641,c(Q31629))
action filter_type
action find
entity Q4700950
relation P641
type Q31629
The [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { resource:Q4700950 property:P641 ?z . ?z rdf:type ontology:Q31629 }
athletics
The athletics was that person a part of
athletics
action filter_type
action find
entity Akihito Motohashi
relation sport
type type of sport
['male', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { resource:Akihito_Motohashi property:sport ?z . ?z rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4700950
P27
Q15617994
USER
Which administrative territory is Akihito Motohashi an inhabitant of ?
(Q4700950,P27,c(Q15617994))
action filter_type
action find
entity Q4700950
relation P27
type Q15617994
['Q4700950', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4700950 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Akihito Motohashi
action filter_type
action find
entity Akihito Motohashi
relation country of citizenship
type designation for an administrative territorial entity
['Akihito Motohashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Akihito_Motohashi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q4700950,P27,c(Q15617994))
action filter_type
action find
entity Q4700950
relation P27
type Q15617994
The [ANSWER] is Akihito Motohashi an inhabitant of
['Q4700950', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4700950 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Japan
The Japan is Akihito Motohashi an inhabitant of
Japan
action filter_type
action find
entity Akihito Motohashi
relation country of citizenship
type designation for an administrative territorial entity
['Akihito Motohashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Akihito_Motohashi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q101244
P138
Q79529
USER
How many chemical substances are the eponym of male or acronym ?
(c(Q79529),P138,Q6581097) (c(Q79529),P138,Q101244)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
action filter_type
action find_reverse
entity Q101244
relation P138
type Q79529
[{'concept': 'Q79529'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q101244']
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P138 ?b . VALUES ( ?b ) { ( resource:Q101244 ) ( resource:Q6581097 ) } }
male acronym
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
action filter_type
action find_reverse
entity acronym
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'acronym']
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:named_after ?b . VALUES ( ?b ) { ( resource:acronym ) ( resource:male ) } }
[]
chemical substance
SYSTEM
2
Q19833612 Q1070924
(c(Q79529),P138,Q6581097) (c(Q79529),P138,Q101244)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
action filter_type
action find_reverse
entity Q101244
relation P138
type Q79529
[ANSWER]
[{'concept': 'Q79529'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q101244']
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P138 ?b . VALUES ( ?b ) { ( resource:Q101244 ) ( resource:Q6581097 ) } }
fabrièsite nabesite
2
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
action filter_type
action find_reverse
entity acronym
relation named after
type chemical substance
[{'concept': 'chemical substance'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'acronym']
SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:named_after ?b . VALUES ( ?b ) { ( resource:acronym ) ( resource:male ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17
P463
Q484652 Q43229
USER
How many international organizations and organizations were Japan a member of ?
(Q17,P463,c(Q484652)) (Q17,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q484652
action filter_type
action find
entity Q17
relation P463
type Q43229
['Q17', 'P463', {'concept': 'Q484652'}] ['Q17', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?c ) { ( ontology:Q484652 ) ( ontology:Q43229 ) } . ?n rdf:type ?c }
Japan
action count
action union
action filter_type
action find
entity Japan
relation member of
type international organization
action filter_type
action find
entity Japan
relation member of
type organization
['Japan', 'member of', {'concept': 'international organization'}] ['Japan', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?c ) { ( ontology:international_organization ) ( ontology:organization ) } . ?n rdf:type ?c }
[]
international organization organization
SYSTEM
5 international organizations and 8 organizations
Q340195 Q191384 Q899770 Q19771 Q1065 Q37143 Q188822 Q827525 Q656801 Q41550 Q170481 Q7825 Q1043527
(Q17,P463,c(Q484652)) (Q17,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q17
relation P463
type Q484652
action filter_type
action find
entity Q17
relation P463
type Q43229
[ANSWER]
['Q17', 'P463', {'concept': 'Q484652'}] ['Q17', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?c ) { ( ontology:Q484652 ) ( ontology:Q43229 ) } . ?n rdf:type ?c }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes G20 United Nations G8 Asian Development Bank International Development Association International Finance Corporation Organisation for Economic Co-operation and Development Asia-Pacific Economic Cooperation World Trade Organization Multilateral Investment Guarantee Agency
5 international organizations and 8 organizations
action count
action union
action filter_type
action find
entity Japan
relation member of
type international organization
action filter_type
action find
entity Japan
relation member of
type organization
['Japan', 'member of', {'concept': 'international organization'}] ['Japan', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { VALUES ( ?c ) { ( ontology:international_organization ) ( ontology:organization ) } . ?n rdf:type ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q36180 Q2309784
P106
Q502895
USER
Which people have career as sport cyclist and writer ?
AND((c(Q502895),P106,Q2309784), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q2309784
relation P106
action find_reverse
entity Q36180
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q2309784'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q2309784 . ?h property:P106 resource:Q36180 . ?h rdf:type ontology:Q502895 }
writer sport cyclist
action filter_type
action intersection
action find_reverse
entity sport cyclist
relation occupation
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'sport cyclist'], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:sport_cyclist . ?h property:occupation resource:writer . ?h rdf:type ontology:common_name }
[]
common name
Q431196 Q6387948 Q2227977 Q4955431 Q336640 Q13484 Q937483 Q1109942 Q7410723 Q2421030
SYSTEM
Some of them are Elizabeth Robins Pennell, Ken Kifer, Pello Ruiz Cabestany, Elisabet Höglund, David Byrne, Laurent Fignon, Sheldon Brown, Georg Rothgießer, Samuel Abt, Thijs Zonneveld
Q1427585 Q431196 Q937483 Q7327878 Q7152233 Q4708727 Q20851131 Q7410723 Q1109942 Q74944 Q6387948 Q24579035 Q16727729 Q6263987 Q336640 Q1361803 Q5087043 Q1112586 Q2227977 Q13484 Q4955431 Q2421030 Q1776675 Q1852280 Q1433840 Q556463 Q3056624
AND((c(Q502895),P106,Q2309784), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q2309784
relation P106
action find_reverse
entity Q36180
relation P106
type Q502895
[ANSWERS] have career as sport cyclist and writer
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q2309784'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q2309784 . ?h property:P106 resource:Q36180 . ?h rdf:type ontology:Q502895 }
Ralf Meutgens Elizabeth Robins Pennell Sheldon Brown Richard Moore Paul Martin Alastair Humphreys Daniel Polman Samuel Abt Georg Rothgießer Peter Winnen Ken Kifer Alice Lee Moqué Juliana Buhring John Wilcockson David Byrne Fred De Bruyne Chas Messenger Günter Teske Pello Ruiz Cabestany Laurent Fignon Elisabet Höglund Thijs Zonneveld Erik Gjems-Onstad Frans Netscher Wolfgang Gronen Paul Kimmage Erin Mirabella
Elizabeth Robins Pennell, Ken Kifer, Pello Ruiz Cabestany, Elisabet Höglund, David Byrne, Laurent Fignon, Sheldon Brown, Georg Rothgießer, Samuel Abt and Thijs Zonneveld have career as sport cyclist and writer
Elizabeth Robins Pennell Ken Kifer Pello Ruiz Cabestany Elisabet Höglund David Byrne Laurent Fignon Sheldon Brown Georg Rothgießer Samuel Abt Thijs Zonneveld
action filter_type
action intersection
action find_reverse
entity sport cyclist
relation occupation
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'sport cyclist'], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:sport_cyclist . ?h property:occupation resource:writer . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11586712 Q4700950
P106
Q151885
USER
Which concepts are the professions of Akihito Motohashi or Michihiro Ishibashi ?
OR((Q4700950,P106,c(Q151885)), (Q11586712,P106,c(Q151885)))
action filter_type
action union
action find
entity Q4700950
relation P106
action find
entity Q11586712
relation P106
type Q151885
{'OR': [['Q4700950', 'P106', {'concept': 'Q151885'}], ['Q11586712', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?e ) { ( resource:Q4700950 ) ( resource:Q11586712 ) } . ?e property:P106 ?p } . ?p rdf:type ontology:Q151885 }
Michihiro Ishibashi Akihito Motohashi
action filter_type
action union
action find
entity Akihito Motohashi
relation occupation
action find
entity Michihiro Ishibashi
relation occupation
type concept
{'OR': [['Akihito Motohashi', 'occupation', {'concept': 'concept'}], ['Michihiro Ishibashi', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?e ) { ( resource:Akihito_Motohashi ) ( resource:Michihiro_Ishibashi ) } . ?e property:occupation ?p } . ?p rdf:type ontology:concept }
[]
concept
Q11513337 Q15627169
SYSTEM
athletics competitor, trade unionist
Q11513337 Q15627169
OR((Q4700950,P106,c(Q151885)), (Q11586712,P106,c(Q151885)))
action filter_type
action union
action find
entity Q4700950
relation P106
action find
entity Q11586712
relation P106
type Q151885
As [ANSWERS] are the professions of Akihito Motohashi or Michihiro Ishibashi
{'OR': [['Q4700950', 'P106', {'concept': 'Q151885'}], ['Q11586712', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?e ) { ( resource:Q4700950 ) ( resource:Q11586712 ) } . ?e property:P106 ?p } . ?p rdf:type ontology:Q151885 }
athletics competitor trade unionist
As athletics competitor and trade unionist are the professions of Akihito Motohashi or Michihiro Ishibashi
athletics competitor trade unionist
action filter_type
action union
action find
entity Akihito Motohashi
relation occupation
action find
entity Michihiro Ishibashi
relation occupation
type concept
{'OR': [['Akihito Motohashi', 'occupation', {'concept': 'concept'}], ['Michihiro Ishibashi', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?e ) { ( resource:Akihito_Motohashi ) ( resource:Michihiro_Ishibashi ) } . ?e property:occupation ?p } . ?p rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q24951694
P106
Q502895
USER
Do Laura Gómez have a job as those concepts ?
(Q24951694,P106,Q11513337) (Q24951694,P106,Q15627169)
action is_in
entity prev_answer
action find
entity Q24951694
relation P106
['Q24951694', 'P106', 'Q11513337'] ['Q24951694', 'P106', 'Q15627169']
ASK WHERE { VALUES ( ?x ) { ( resource:Q11513337 ) ( resource:Q15627169 ) } . resource:Q24951694 property:P106 ?x }
Laura Gómez
action is_in
entity prev_answer
action find
entity Laura Gómez
relation occupation
['Laura Gómez', 'occupation', 'athletics competitor'] ['Laura Gómez', 'occupation', 'trade unionist']
ASK WHERE { VALUES ( ?x ) { ( resource:athletics_competitor ) ( resource:trade_unionist ) } . resource:Laura_Gómez property:occupation ?x }
[]
common name
SYSTEM
NO
(Q24951694,P106,Q11513337) (Q24951694,P106,Q15627169)
action is_in
entity prev_answer
action find
entity Q24951694
relation P106
[ANSWER]
['Q24951694', 'P106', 'Q11513337'] ['Q24951694', 'P106', 'Q15627169']
ASK WHERE { VALUES ( ?x ) { ( resource:Q11513337 ) ( resource:Q15627169 ) } . resource:Q24951694 property:P106 ?x }
No
action is_in
entity prev_answer
action find
entity Laura Gómez
relation occupation
['Laura Gómez', 'occupation', 'athletics competitor'] ['Laura Gómez', 'occupation', 'trade unionist']
ASK WHERE { VALUES ( ?x ) { ( resource:athletics_competitor ) ( resource:trade_unionist ) } . resource:Laura_Gómez property:occupation ?x }
[]