Simple Question (Direct)
Simple Question
Q316698
P1344
Q1375427
USER
Which European Championship did Glenn Whelan participate in ?
(Q316698,P1344,c(Q1375427))
action filter_type
action find
entity Q316698
relation P1344
type Q1375427
['Q316698', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?a WHERE { resource:Q316698 property:P1344 ?a . ?a rdf:type ontology:Q1375427 }
Glenn Whelan
action filter_type
action find
entity Glenn Whelan
relation participant of
type European Championship
['Glenn Whelan', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?a WHERE { resource:Glenn_Whelan property:participant_of ?a . ?a rdf:type ontology:European_Championship }
[]
European Championship
Q22669
SYSTEM
UEFA Euro 2012
Q22669
(Q316698,P1344,c(Q1375427))
action filter_type
action find
entity Q316698
relation P1344
type Q1375427
Glenn Whelan participated in [ANSWER]
['Q316698', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?a WHERE { resource:Q316698 property:P1344 ?a . ?a rdf:type ontology:Q1375427 }
UEFA Euro 2012
Glenn Whelan participated in UEFA Euro 2012
UEFA Euro 2012
action filter_type
action find
entity Glenn Whelan
relation participant of
type European Championship
['Glenn Whelan', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?a WHERE { resource:Glenn_Whelan property:participant_of ?a . ?a rdf:type ontology:European_Championship }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q316698
P710
Q6979593
USER
What event was that person a participant of ?
(c(Q6979593),P710,Q22669)
action filter_type
action find_reverse
entity Q316698
relation P710
type Q6979593
[{'concept': 'Q6979593'}, 'P710', 'Q22669']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q6979593 . ?f property:P710 resource:Q316698 }
Glenn Whelan
action filter_type
action find_reverse
entity Glenn Whelan
relation participant
type national association football team
[{'concept': 'national association football team'}, 'participant', 'UEFA Euro 2012']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:national_association_football_team . ?f property:participant resource:Glenn_Whelan }
[]
national association football team
Q22002166
SYSTEM
Ireland at the UEFA Euro 2016
Q22002166
(c(Q6979593),P710,Q22669)
action filter_type
action find_reverse
entity Q316698
relation P710
type Q6979593
What event was that person a participant of
[{'concept': 'Q6979593'}, 'P710', 'Q22669']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q6979593 . ?f property:P710 resource:Q316698 }
Ireland at the UEFA Euro 2016
What event was that person a participant of
Ireland at the UEFA Euro 2016
action filter_type
action find_reverse
entity Glenn Whelan
relation participant
type national association football team
[{'concept': 'national association football team'}, 'participant', 'UEFA Euro 2012']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:national_association_football_team . ?f property:participant resource:Glenn_Whelan }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q22002166 Q284784
P710
Q502895
USER
Was James McClean a participant of that national association football team ?
(Q22002166,P710,Q284784)
action is_in
entity Q284784
action find
entity Q22002166
relation P710
['Q22002166', 'P710', 'Q284784']
ASK WHERE { resource:Q22002166 property:P710 resource:Q284784 }
Ireland at the UEFA Euro 2016 James McClean
action is_in
entity James McClean
action find
entity Ireland at the UEFA Euro 2016
relation participant
['Ireland at the UEFA Euro 2016', 'participant', 'James McClean']
ASK WHERE { resource:Ireland_at_the_UEFA_Euro_2016 property:participant resource:James_McClean }
[]
common name
SYSTEM
YES
(Q22002166,P710,Q284784)
action is_in
entity Q284784
action find
entity Q22002166
relation P710
[ANSWER]
['Q22002166', 'P710', 'Q284784']
ASK WHERE { resource:Q22002166 property:P710 resource:Q284784 }
Yes
action is_in
entity James McClean
action find
entity Ireland at the UEFA Euro 2016
relation participant
['Ireland at the UEFA Euro 2016', 'participant', 'James McClean']
ASK WHERE { resource:Ireland_at_the_UEFA_Euro_2016 property:participant resource:James_McClean }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2812793 Q22002166
P710 P57
Q502895
USER
Which people were participants of Ireland at the UEFA Euro 2016 or served as the directed of 1981 ?
OR((Q22002166,P710,c(Q502895)), (Q2812793,P57,c(Q502895)))
action filter_type
action union
action find
entity Q22002166
relation P710
action find
entity Q2812793
relation P57
type Q502895
{'OR': [['Q22002166', 'P710', {'concept': 'Q502895'}], ['Q2812793', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q22002166 property:P710 ?f } UNION { resource:Q2812793 property:P57 ?f } } . ?f rdf:type ontology:Q502895 }
1981 Ireland at the UEFA Euro 2016
action filter_type
action union
action find
entity Ireland at the UEFA Euro 2016
relation participant
action find
entity 1981
relation director
type common name
{'OR': [['Ireland at the UEFA Euro 2016', 'participant', {'concept': 'common name'}], ['1981', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Ireland_at_the_UEFA_Euro_2016 property:participant ?f } UNION { resource:1981 property:director ?f } } . ?f rdf:type ontology:common_name }
[]
common name
Q316698 Q184612 Q529013 Q2627900 Q1100531 Q3266302 Q390793 Q3016542 Q3430333 Q210755
SYSTEM
Some of them are Glenn Whelan, Robbie Keane, James McCarthy, Shane Duffy, Wes Hoolahan, Stephen Quinn, Jeff Hendrick, Darren Randolph, Ricardo Trogi, Richard Keogh
Q3016542 Q126332 Q184612 Q334576 Q208700 Q306351 Q2627900 Q316724 Q319810 Q215812 Q529013 Q284784 Q3430333 Q1100531 Q3266302 Q390793 Q45538 Q5201080 Q210755 Q357664 Q316698 Q350976 Q297964 Q2447742
OR((Q22002166,P710,c(Q502895)), (Q2812793,P57,c(Q502895)))
action filter_type
action union
action find
entity Q22002166
relation P710
action find
entity Q2812793
relation P57
type Q502895
[ANSWERS] were participants of Ireland at the UEFA Euro 2016 or served as the directed of 1981
{'OR': [['Q22002166', 'P710', {'concept': 'Q502895'}], ['Q2812793', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q22002166 property:P710 ?f } UNION { resource:Q2812793 property:P57 ?f } } . ?f rdf:type ontology:Q502895 }
Darren Randolph David Meyler Robbie Keane Stephen Ward Aiden McGeady John O'Shea Shane Duffy Séamus Coleman Jonathan Walters Shay Given James McCarthy James McClean Ricardo Trogi Wes Hoolahan Stephen Quinn Jeff Hendrick Robbie Brady Cyrus Christie Richard Keogh Keiren Westwood Glenn Whelan Ciaran Clark Shane Long Daryl Murphy
Glenn Whelan, Robbie Keane, James McCarthy, Shane Duffy, Wes Hoolahan, Stephen Quinn, Jeff Hendrick, Darren Randolph, Ricardo Trogi and Richard Keogh were participants of Ireland at the UEFA Euro 2016 or served as the directed of 1981
Glenn Whelan Robbie Keane James McCarthy Shane Duffy Wes Hoolahan Stephen Quinn Jeff Hendrick Darren Randolph Ricardo Trogi Richard Keogh
action filter_type
action union
action find
entity Ireland at the UEFA Euro 2016
relation participant
action find
entity 1981
relation director
type common name
{'OR': [['Ireland at the UEFA Euro 2016', 'participant', {'concept': 'common name'}], ['1981', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Ireland_at_the_UEFA_Euro_2016 property:participant ?f } UNION { resource:1981 property:director ?f } } . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3430333
P106
Q28640
USER
What does that person do for a living ?
(Q3430333,P106,c(Q28640))
action filter_type
action find
entity Q3430333
relation P106
type Q28640
['Q3430333', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?r WHERE { resource:Q3430333 property:P106 ?r . ?r rdf:type ontology:Q28640 }
Ricardo Trogi
action filter_type
action find
entity Ricardo Trogi
relation occupation
type profession
['Ricardo Trogi', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?r WHERE { resource:Ricardo_Trogi property:occupation ?r . ?r rdf:type ontology:profession }
[]
profession
Clarification for simple ques.
Q529013
SYSTEM
Did you mean James McCarthy ?
Q316698 Q184612 Q529013 Q2627900 Q1100531 Q3266302 Q390793 Q3016542 Q3430333 Q210755
(Q316698,P106,c(Q28640)) (Q184612,P106,c(Q28640)) (Q529013,P106,c(Q28640)) (Q2627900,P106,c(Q28640)) (Q1100531,P106,c(Q28640)) (Q3266302,P106,c(Q28640)) (Q390793,P106,c(Q28640)) (Q3016542,P106,c(Q28640)) (Q3430333,P106,c(Q28640)) (Q210755,P106,c(Q28640))
[ANSWER]
['Q316698', 'P106', {'concept': 'Q28640'}] ['Q184612', 'P106', {'concept': 'Q28640'}] ['Q529013', 'P106', {'concept': 'Q28640'}] ['Q2627900', 'P106', {'concept': 'Q28640'}] ['Q1100531', 'P106', {'concept': 'Q28640'}] ['Q3266302', 'P106', {'concept': 'Q28640'}] ['Q390793', 'P106', {'concept': 'Q28640'}] ['Q3016542', 'P106', {'concept': 'Q28640'}] ['Q3430333', 'P106', {'concept': 'Q28640'}] ['Q210755', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?r WHERE { resource:Q3430333 property:P106 ?r . ?r rdf:type ontology:Q28640 }
Glenn Whelan Robbie Keane James McCarthy Shane Duffy Wes Hoolahan Stephen Quinn Jeff Hendrick Darren Randolph Ricardo Trogi Richard Keogh
Did you mean James McCarthy ?
James McCarthy
['Glenn Whelan', 'occupation', {'concept': 'profession'}] ['Robbie Keane', 'occupation', {'concept': 'profession'}] ['James McCarthy', 'occupation', {'concept': 'profession'}] ['Shane Duffy', 'occupation', {'concept': 'profession'}] ['Wes Hoolahan', 'occupation', {'concept': 'profession'}] ['Stephen Quinn', 'occupation', {'concept': 'profession'}] ['Jeff Hendrick', 'occupation', {'concept': 'profession'}] ['Darren Randolph', 'occupation', {'concept': 'profession'}] ['Ricardo Trogi', 'occupation', {'concept': 'profession'}] ['Richard Keogh', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?r WHERE { resource:Ricardo_Trogi property:occupation ?r . ?r rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
USER
No, I meant Ricardo Trogi. Could you tell me the answer for that?
(Q3430333,P106,c(Q28640))
Q3430333
['Q3430333', 'P106', {'concept': 'Q28640'}]
['Ricardo Trogi', 'occupation', {'concept': 'profession'}]
[]
Q2526255
SYSTEM
film director
Q2526255
(Q3430333,P106,c(Q28640))
action filter_type
action find
entity Q3430333
relation P106
type Q28640
That person does a [ANSWER] for a living
['Q3430333', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?r WHERE { resource:Q3430333 property:P106 ?r . ?r rdf:type ontology:Q28640 }
film director
That person does a film director for a living
film director
action filter_type
action find
entity Ricardo Trogi
relation occupation
type profession
['Ricardo Trogi', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?r WHERE { resource:Ricardo_Trogi property:occupation ?r . ?r rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184612
P1346
Q618779
USER
Where was Robbie Keane decalred as a victor ?
(c(Q618779),P1346,Q184612)
action filter_type
action find_reverse
entity Q184612
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q184612']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q618779 . ?u property:P1346 resource:Q184612 }
Robbie Keane
action filter_type
action find_reverse
entity Robbie Keane
relation winner
type award
[{'concept': 'award'}, 'winner', 'Robbie Keane']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:award . ?u property:winner resource:Robbie_Keane }
[]
award
Q4896721
SYSTEM
Best MLS Player ESPY Award
Q4896721
(c(Q618779),P1346,Q184612)
action filter_type
action find_reverse
entity Q184612
relation P1346
type Q618779
Robbie Keane was decalred as a victor [ANSWER]
[{'concept': 'Q618779'}, 'P1346', 'Q184612']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q618779 . ?u property:P1346 resource:Q184612 }
Best MLS Player ESPY Award
Robbie Keane was decalred as a victor Best MLS Player ESPY Award
Best MLS Player ESPY Award
action filter_type
action find_reverse
entity Robbie Keane
relation winner
type award
[{'concept': 'award'}, 'winner', 'Robbie Keane']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:award . ?u property:winner resource:Robbie_Keane }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q28640 Q1269299 Q28640
USER
Which professions serve as a subsidiary of exactly 1 business organizations and professions ?
(c(Q1269299)|c(Q28640),P355,c(Q28640))
action equal
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
value 1
[[{'concept': 'Q1269299'}, {'concept': 'Q28640'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?q ) WHERE { { ?e rdf:type ontology:Q28640 . ?g rdf:type ontology:Q1269299 . ?g property:P355 ?e } UNION { ?g property:P355 ?e . ?e rdf:type ontology:Q28640 . ?g rdf:type ontology:Q28640 } } GROUP BY ?e } . FILTER ( ?q = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
value 1
[[{'concept': 'type of business entity'}, {'concept': 'profession'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?q ) WHERE { { ?e rdf:type ontology:profession . ?g rdf:type ontology:type_of_business_entity . ?g property:subsidiary ?e } UNION { ?g property:subsidiary ?e . ?e rdf:type ontology:profession . ?g rdf:type ontology:profession } } GROUP BY ?e } . FILTER ( ?q = 1 ) }
[]
profession type of business entity profession
Q1129295 Q1060165 Q800120
SYSTEM
Mojang, Riot Games, Humongous
Q1040450 Q18414205 Q15240959 Q1403157 Q2076545 Q18388687 Q3456271 Q611508 Q1060165 Q684218 Q26222 Q1053684 Q739711 Q1129295 Q2510684 Q94937 Q4039000 Q73801 Q1930918 Q923047 Q2740414 Q800120 Q15018011 Q1692707 Q8043371 Q1172164 Q1466613 Q3052263
(c(Q1269299)|c(Q28640),P355,c(Q28640))
action equal
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
value 1
[ANSWERS] serve as a subsidiary of exactly 1 business organizations and professions
[[{'concept': 'Q1269299'}, {'concept': 'Q28640'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?q ) WHERE { { ?e rdf:type ontology:Q28640 . ?g rdf:type ontology:Q1269299 . ?g property:P355 ?e } UNION { ?g property:P355 ?e . ?e rdf:type ontology:Q28640 . ?g rdf:type ontology:Q28640 } } GROUP BY ?e } . FILTER ( ?q = 1 ) }
Guerrilla Cambridge Future Games Of London Team Bloodlust WMS Industries Day 1 Studios Lift London BigWorld Creative Assembly Riot Games Cavedog Entertainment Gas Powered Games Polyphony Digital Epic Games Mojang Zynga Dallas 2K Games Freeverse Microsoft Studios U.S. Gold 989 Studios Team Ninja Humongous Atari Interactive Square Enix Europe Launchworks CD Projekt RED Ubisoft Massive Omega Force
Mojang, Riot Games and Humongous serve as a subsidiary of exactly 1 business organizations and professions
Mojang Riot Games Humongous
action equal
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
value 1
[[{'concept': 'type of business entity'}, {'concept': 'profession'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?q ) WHERE { { ?e rdf:type ontology:profession . ?g rdf:type ontology:type_of_business_entity . ?g property:subsidiary ?e } UNION { ?g property:subsidiary ?e . ?e rdf:type ontology:profession . ?g rdf:type ontology:profession } } GROUP BY ?e } . FILTER ( ?q = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1129295 Q1060165 Q800120
P452
Q268592
USER
Which industries do those professions belong to ?
(Q1129295,P452,c(Q268592)) (Q1060165,P452,c(Q268592)) (Q800120,P452,c(Q268592))
action filter_type
action find
entity prev_answer
relation P452
type Q268592
['Q1129295', 'P452', {'concept': 'Q268592'}] ['Q1060165', 'P452', {'concept': 'Q268592'}] ['Q800120', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?r WHERE { ?h property:P452 ?r . ?r rdf:type ontology:Q268592 . VALUES ( ?h ) { ( resource:Q1040450 ) ( resource:Q18414205 ) ( resource:Q15240959 ) } }
Mojang Riot Games Humongous
action filter_type
action find
entity prev_answer
relation industry
type economic branch
['Mojang', 'industry', {'concept': 'economic branch'}] ['Riot Games', 'industry', {'concept': 'economic branch'}] ['Humongous', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?r WHERE { ?h property:industry ?r . ?r rdf:type ontology:economic_branch . VALUES ( ?h ) { ( resource:Guerrilla_Cambridge ) ( resource:Future_Games_Of_London ) ( resource:Team_Bloodlust ) } }
[]
economic branch
Q941594 Q941594 Q941594
SYSTEM
video game industry
Q941594 Q941594 Q941594
(Q1129295,P452,c(Q268592)) (Q1060165,P452,c(Q268592)) (Q800120,P452,c(Q268592))
action filter_type
action find
entity prev_answer
relation P452
type Q268592
Those professions belong to [ANSWER], [ANSWER] and [ANSWER]
['Q1129295', 'P452', {'concept': 'Q268592'}] ['Q1060165', 'P452', {'concept': 'Q268592'}] ['Q800120', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?r WHERE { ?h property:P452 ?r . ?r rdf:type ontology:Q268592 . VALUES ( ?h ) { ( resource:Q1040450 ) ( resource:Q18414205 ) ( resource:Q15240959 ) } }
video game industry video game industry video game industry
Those professions belong to video game industry, video game industry and video game industry
video game industry video game industry video game industry
action filter_type
action find
entity prev_answer
relation industry
type economic branch
['Mojang', 'industry', {'concept': 'economic branch'}] ['Riot Games', 'industry', {'concept': 'economic branch'}] ['Humongous', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?r WHERE { ?h property:industry ?r . ?r rdf:type ontology:economic_branch . VALUES ( ?h ) { ( resource:Guerrilla_Cambridge ) ( resource:Future_Games_Of_London ) ( resource:Team_Bloodlust ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1129295
P921
Q838948
USER
Which work of art has Mojang as its principal topic ?
(c(Q838948),P921,Q941594) (c(Q838948),P921,Q941594) (c(Q838948),P921,Q941594)
action filter_type
action find_reverse
entity Q1129295
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q941594'] [{'concept': 'Q838948'}, 'P921', 'Q941594'] [{'concept': 'Q838948'}, 'P921', 'Q941594']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q1129295 . ?e rdf:type ontology:Q838948 }
Mojang
action filter_type
action find_reverse
entity Mojang
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'video game industry'] [{'concept': 'work of art'}, 'main subject', 'video game industry'] [{'concept': 'work of art'}, 'main subject', 'video game industry']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:Mojang . ?e rdf:type ontology:work_of_art }
[]
work of art
Q6864138
SYSTEM
Minecraft: The Story of Mojang
Q6864138
(c(Q838948),P921,Q941594) (c(Q838948),P921,Q941594) (c(Q838948),P921,Q941594)
action filter_type
action find_reverse
entity Q1129295
relation P921
type Q838948
[ANSWER] has Mojang as its principal topic
[{'concept': 'Q838948'}, 'P921', 'Q941594'] [{'concept': 'Q838948'}, 'P921', 'Q941594'] [{'concept': 'Q838948'}, 'P921', 'Q941594']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q1129295 . ?e rdf:type ontology:Q838948 }
Minecraft: The Story of Mojang
Minecraft: The Story of Mojang has Mojang as its principal topic
Minecraft: The Story of Mojang
action filter_type
action find_reverse
entity Mojang
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'video game industry'] [{'concept': 'work of art'}, 'main subject', 'video game industry'] [{'concept': 'work of art'}, 'main subject', 'video game industry']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:Mojang . ?e rdf:type ontology:work_of_art }
[]