Simple Question (Direct)
Simple Question
Q1369509
P166
Q163740
USER
Which nonprofit organization was received by John Van McDuffie ?
(Q1369509,P166,c(Q163740))
action filter_type
action find
entity Q1369509
relation P166
type Q163740
['Q1369509', 'P166', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q1369509 property:P166 ?j . ?j rdf:type ontology:Q163740 }
John Van McDuffie
action filter_type
action find
entity John Van McDuffie
relation award received
type nonprofit organization
['John Van McDuffie', 'award received', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:John_Van_McDuffie property:award_received ?j . ?j rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q6705538
SYSTEM
Luther College
Q6705538
(Q1369509,P166,c(Q163740))
action filter_type
action find
entity Q1369509
relation P166
type Q163740
As [ANSWER] was received by John Van McDuffie
['Q1369509', 'P166', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q1369509 property:P166 ?j . ?j rdf:type ontology:Q163740 }
Luther College
As Luther College was received by John Van McDuffie
Luther College
action filter_type
action find
entity John Van McDuffie
relation award received
type nonprofit organization
['John Van McDuffie', 'award received', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:John_Van_McDuffie property:award_received ?j . ?j rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1369509
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6705538,P27,c(Q15617994))
action filter_type
action find
entity Q1369509
relation P27
type Q15617994
['Q6705538', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1369509 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
John Van McDuffie
action filter_type
action find
entity John Van McDuffie
relation country of citizenship
type designation for an administrative territorial entity
['Luther College', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:John_Van_McDuffie property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6705538,P27,c(Q15617994))
action filter_type
action find
entity Q1369509
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q6705538', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1369509 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity John Van McDuffie
relation country of citizenship
type designation for an administrative territorial entity
['Luther College', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:John_Van_McDuffie property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5192707 Q6705538
P27 P17
Q15617994
USER
Which administrative territories are Luther College a part of or do Cui Yanfeng belong to ?
OR((Q6705538,P17,c(Q15617994)), (Q5192707,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6705538
relation P17
action find
entity Q5192707
relation P27
type Q15617994
{'OR': [['Q6705538', 'P17', {'concept': 'Q15617994'}], ['Q5192707', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q6705538 property:P17 ?e } UNION { resource:Q5192707 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
Cui Yanfeng Luther College
action filter_type
action union
action find
entity Luther College
relation country
action find
entity Cui Yanfeng
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Luther College', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cui Yanfeng', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Luther_College property:country ?e } UNION { resource:Cui_Yanfeng property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q30
SYSTEM
People's Republic of China, United States of America
Q148 Q30
OR((Q6705538,P17,c(Q15617994)), (Q5192707,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6705538
relation P17
action find
entity Q5192707
relation P27
type Q15617994
[ANSWERS] are Luther College a part of or do Cui Yanfeng belong to
{'OR': [['Q6705538', 'P17', {'concept': 'Q15617994'}], ['Q5192707', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q6705538 property:P17 ?e } UNION { resource:Q5192707 property:P27 ?e } } . ?e rdf:type ontology:Q15617994 }
People's Republic of China United States of America
People's Republic of China and United States of America are Luther College a part of or do Cui Yanfeng belong to
People's Republic of China United States of America
action filter_type
action union
action find
entity Luther College
relation country
action find
entity Cui Yanfeng
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Luther College', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cui Yanfeng', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Luther_College property:country ?e } UNION { resource:Cui_Yanfeng property:country_of_citizenship ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P47
Q15617994
USER
Who share the border with United States of America ?
(Q30,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q30 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:United_States_of_America property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q17 Q96
SYSTEM
Russia, Japan, Mexico
Q702 Q804 Q159 Q96 Q17 Q786 Q241 Q683 Q710 Q678 Q717 Q790
(Q30,P47,c(Q15617994))
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWERS] share the border with United States of America
['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q30 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Federated States of Micronesia Panama Russia Mexico Japan Dominican Republic Cuba Samoa Kiribati Tonga Venezuela Haiti
Russia, Japan and Mexico share the border with United States of America
Russia Japan Mexico
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:United_States_of_America property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159 Q17 Q96
P17
Q15617994
USER
Which administrative territories are Russia, Japan and Mexico situated in ?
(Q159,P17,c(Q15617994)) (Q17,P17,c(Q15617994)) (Q96,P17,c(Q15617994))
action union
action filter_type
action find
entity Q159
relation P17
type Q15617994
action filter_type
action find
entity Q17
relation P17
type Q15617994
action filter_type
action find
entity Q96
relation P17
type Q15617994
['Q159', 'P17', {'concept': 'Q15617994'}] ['Q17', 'P17', {'concept': 'Q15617994'}] ['Q96', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q159 property:P17 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q17 property:P17 ?p . ?p rdf:type ontology:Q15617994 } }
Russia Japan Mexico
action union
action filter_type
action find
entity Russia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Japan
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mexico
relation country
type designation for an administrative territorial entity
['Russia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Japan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Russia property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Japan property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q159 Q17 Q96
SYSTEM
Russia, Japan, Mexico
Q159 Q17 Q96
(Q159,P17,c(Q15617994)) (Q17,P17,c(Q15617994)) (Q96,P17,c(Q15617994))
action union
action filter_type
action find
entity Q159
relation P17
type Q15617994
action filter_type
action find
entity Q17
relation P17
type Q15617994
action filter_type
action find
entity Q96
relation P17
type Q15617994
Russia , Japan and Mexico are situated in [ANSWERS]
['Q159', 'P17', {'concept': 'Q15617994'}] ['Q17', 'P17', {'concept': 'Q15617994'}] ['Q96', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q159 property:P17 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q17 property:P17 ?p . ?p rdf:type ontology:Q15617994 } }
Russia Japan Mexico
Russia , Japan and Mexico are situated in Russia, Japan and Mexico
Russia Japan Mexico
action union
action filter_type
action find
entity Russia
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Japan
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mexico
relation country
type designation for an administrative territorial entity
['Russia', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Japan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mexico', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Russia property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Japan property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q159
P859
Q939954
USER
Which Magnetic confinement fusion was sponsored by that administrative territory ?
(c(Q939954),P859,Q159)
action filter_type
action find_reverse
entity Q159
relation P859
type Q939954
[{'concept': 'Q939954'}, 'P859', 'Q159']
SELECT DISTINCT ?g WHERE { ?g property:P859 resource:Q159 . ?g rdf:type ontology:Q939954 }
Russia
action filter_type
action find_reverse
entity Russia
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'Russia']
SELECT DISTINCT ?g WHERE { ?g property:sponsor resource:Russia . ?g rdf:type ontology:Magnetic_confinement_fusion }
[]
Magnetic confinement fusion
Clarification for simple ques.
Q159
SYSTEM
Did you mean Russia ?
Q159 Q17 Q96
(c(Q939954),P859,Q159) (c(Q939954),P859,Q17) (c(Q939954),P859,Q96)
[ANSWER]
[{'concept': 'Q939954'}, 'P859', 'Q159'] [{'concept': 'Q939954'}, 'P859', 'Q17'] [{'concept': 'Q939954'}, 'P859', 'Q96']
SELECT DISTINCT ?g WHERE { ?g property:P859 resource:Q159 . ?g rdf:type ontology:Q939954 }
Russia Japan Mexico
Did you mean Russia ?
Russia
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'Russia'] [{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'Japan'] [{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'Mexico']
SELECT DISTINCT ?g WHERE { ?g property:sponsor resource:Russia . ?g rdf:type ontology:Magnetic_confinement_fusion }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q939954),P859,Q159)
[{'concept': 'Q939954'}, 'P859', 'Q159']
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'Russia']
[]
Q191788
SYSTEM
ITER
Q191788
(c(Q939954),P859,Q159)
action filter_type
action find_reverse
entity Q159
relation P859
type Q939954
[ANSWER] was sponsored by that administrative territory
[{'concept': 'Q939954'}, 'P859', 'Q159']
SELECT DISTINCT ?g WHERE { ?g property:P859 resource:Q159 . ?g rdf:type ontology:Q939954 }
ITER
ITER was sponsored by that administrative territory
ITER
action filter_type
action find_reverse
entity Russia
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'Russia']
SELECT DISTINCT ?g WHERE { ?g property:sponsor resource:Russia . ?g rdf:type ontology:Magnetic_confinement_fusion }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q159
P47
Q15617994
USER
How many administrative territories are bordered by Russia ?
(Q159,P47,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P47
type Q15617994
['Q159', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q159 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Russia
action count
action filter_type
action find
entity Russia
relation shares border with
type designation for an administrative territorial entity
['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Russia property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
16
Q227 Q20 Q423 Q211 Q230 Q232 Q191 Q184 Q711 Q33 Q17 Q30 Q37 Q36 Q212 Q148
(Q159,P47,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P47
type Q15617994
[ANSWER]
['Q159', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q159 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Azerbaijan Norway North Korea Latvia Georgia Kazakhstan Estonia Belarus Mongolia Finland Japan United States of America Lithuania Poland Ukraine People's Republic of China
16
action count
action filter_type
action find
entity Russia
relation shares border with
type designation for an administrative territorial entity
['Russia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Russia property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]