Simple Question (Direct)
Simple Question
Q139642
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Zachary Quinto ?
(Q139642,P27,c(Q15617994))
action filter_type
action find
entity Q139642
relation P27
type Q15617994
['Q139642', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q139642 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Zachary Quinto
action filter_type
action find
entity Zachary Quinto
relation country of citizenship
type designation for an administrative territorial entity
['Zachary Quinto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Zachary_Quinto property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q139642,P27,c(Q15617994))
action filter_type
action find
entity Q139642
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Zachary Quinto
['Q139642', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q139642 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of citizenship of Zachary Quinto
United States of America
action filter_type
action find
entity Zachary Quinto
relation country of citizenship
type designation for an administrative territorial entity
['Zachary Quinto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Zachary_Quinto property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q139642
P69
Q163740
USER
Which nonprofit organization was that person educated at ?
(Q30,P69,c(Q163740))
action filter_type
action find
entity Q139642
relation P69
type Q163740
['Q30', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q139642 property:P69 ?z . ?z rdf:type ontology:Q163740 }
Zachary Quinto
action filter_type
action find
entity Zachary Quinto
relation educated at
type nonprofit organization
['United States of America', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Zachary_Quinto property:educated_at ?z . ?z rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q190080
SYSTEM
Carnegie Mellon University
Q190080
(Q30,P69,c(Q163740))
action filter_type
action find
entity Q139642
relation P69
type Q163740
That person was educated by [ANSWER]
['Q30', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q139642 property:P69 ?z . ?z rdf:type ontology:Q163740 }
Carnegie Mellon University
That person was educated by Carnegie Mellon University
Carnegie Mellon University
action filter_type
action find
entity Zachary Quinto
relation educated at
type nonprofit organization
['United States of America', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Zachary_Quinto property:educated_at ?z . ?z rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q190080 Q30
P17
Q15617994
USER
Is that nonprofit organization situated in United States of America ?
(Q190080,P17,Q30)
action is_in
entity Q30
action find
entity Q190080
relation P17
['Q190080', 'P17', 'Q30']
ASK WHERE { resource:Q190080 property:P17 resource:Q30 }
Carnegie Mellon University United States of America
action is_in
entity United States of America
action find
entity Carnegie Mellon University
relation country
['Carnegie Mellon University', 'country', 'United States of America']
ASK WHERE { resource:Carnegie_Mellon_University property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q190080,P17,Q30)
action is_in
entity Q30
action find
entity Q190080
relation P17
[ANSWER]
['Q190080', 'P17', 'Q30']
ASK WHERE { resource:Q190080 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Carnegie Mellon University
relation country
['Carnegie Mellon University', 'country', 'United States of America']
ASK WHERE { resource:Carnegie_Mellon_University property:country resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q737066 Q190080
P710 P112
Q502895
USER
Which people founded Carnegie Mellon University or participated in Badminton at the 2004 Summer Olympics – Men's singles ?
OR((Q190080,P112,c(Q502895)), (Q737066,P710,c(Q502895)))
action filter_type
action union
action find
entity Q190080
relation P112
action find
entity Q737066
relation P710
type Q502895
{'OR': [['Q190080', 'P112', {'concept': 'Q502895'}], ['Q737066', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q190080 property:P112 ?h } UNION { resource:Q737066 property:P710 ?h } } . ?h rdf:type ontology:Q502895 }
Badminton at the 2004 Summer Olympics – Men's singles Carnegie Mellon University
action filter_type
action union
action find
entity Carnegie Mellon University
relation founder
action find
entity Badminton at the 2004 Summer Olympics – Men's singles
relation participant
type common name
{'OR': [['Carnegie Mellon University', 'founder', {'concept': 'common name'}], ["Badminton at the 2004 Summer Olympics – Men's singles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Carnegie_Mellon_University property:founder ?h } UNION { resource:Badminton_at_the_2004_Summer_Olympics_–_Men's_singles property:participant ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q660145 Q484265 Q472859 Q999351 Q320613 Q363540 Q709411 Q609897 Q562083 Q1387653
SYSTEM
Some of them are Taufik Hidayat, Andrew Carnegie, Sergio Llopis, Hidetaka Yamada, Abhinn Shyam Gupta, Peter Gade, Ng Wei, Antti Viitikko, Lee Hyun-il, Shoji Sato
Q731914 Q320613 Q2150807 Q363540 Q983375 Q319346 Q1582609 Q983449 Q431906 Q609897 Q1356324 Q999351 Q1689204 Q709411 Q472928 Q1390341 Q738936 Q1738878 Q893081 Q660145 Q2357844 Q461376 Q1387653 Q472859 Q484265 Q98223 Q562083 Q703233 Q328229 Q707205 Q505075 Q1077156 Q713905
OR((Q190080,P112,c(Q502895)), (Q737066,P710,c(Q502895)))
action filter_type
action union
action find
entity Q190080
relation P112
action find
entity Q737066
relation P710
type Q502895
[ANSWERS] founded Carnegie Mellon University or participated in Badminton at the 2004 Summer Olympics – Men's singles
{'OR': [['Q190080', 'P112', {'concept': 'Q502895'}], ['Q737066', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q190080 property:P112 ?h } UNION { resource:Q737066 property:P710 ?h } } . ?h rdf:type ontology:Q502895 }
Sony Dwi Kuncoro Abhinn Shyam Gupta Richard Vaughan Peter Gade Marco Vasconcelos Lee Chong Wei Park Tae-sang Przemysław Wacha Nikhil Kanetkar Antti Viitikko Roslin Hashim Hidetaka Yamada Jim Ronny Andersen Ng Wei Chien Yu-Hsiu Lin Dan Bao Chunlai Kenneth Jonassen Boonsak Ponsana Taufik Hidayat Stuart Brehaut Pedro Yang Shoji Sato Sergio Llopis Andrew Carnegie Björn Joppien Lee Hyun-il Wong Choong Hann Shon Seung-mo Ronald Susilo Kasperi Salo Chris Dednam Chen Hong
Taufik Hidayat, Andrew Carnegie, Sergio Llopis, Hidetaka Yamada, Abhinn Shyam Gupta, Peter Gade, Ng Wei, Antti Viitikko, Lee Hyun-il and Shoji Sato founded Carnegie Mellon University or participated in Badminton at the 2004 Summer Olympics – Men's singles
Taufik Hidayat Andrew Carnegie Sergio Llopis Hidetaka Yamada Abhinn Shyam Gupta Peter Gade Ng Wei Antti Viitikko Lee Hyun-il Shoji Sato
action filter_type
action union
action find
entity Carnegie Mellon University
relation founder
action find
entity Badminton at the 2004 Summer Olympics – Men's singles
relation participant
type common name
{'OR': [['Carnegie Mellon University', 'founder', {'concept': 'common name'}], ["Badminton at the 2004 Summer Olympics – Men's singles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Carnegie_Mellon_University property:founder ?h } UNION { resource:Badminton_at_the_2004_Summer_Olympics_–_Men's_singles property:participant ?h } } . ?h rdf:type ontology:common_name }
[]