Simple Question (Direct)
Simple Question
Q888625
P641
Q349
USER
Which sport was Bobby Milroy a part of ?
(Q888625,P641,c(Q349))
action filter_type
action find
entity Q888625
relation P641
type Q349
['Q888625', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q888625 property:P641 ?x }
Bobby Milroy
action filter_type
action find
entity Bobby Milroy
relation sport
type sport
['Bobby Milroy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Bobby_Milroy property:sport ?x }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q888625,P641,c(Q349))
action filter_type
action find
entity Q888625
relation P641
type Q349
Which sport was Bobby Milroy a part of
['Q888625', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q888625 property:P641 ?x }
badminton
Which sport was Bobby Milroy a part of
badminton
action filter_type
action find
entity Bobby Milroy
relation sport
type sport
['Bobby Milroy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Bobby_Milroy property:sport ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q888625
P1344
Q799469
USER
Which Badminton World Championships did Bobby Milroy take part in ?
(Q888625,P1344,c(Q799469))
action filter_type
action find
entity Q888625
relation P1344
type Q799469
['Q888625', 'P1344', {'concept': 'Q799469'}]
SELECT DISTINCT ?w WHERE { resource:Q888625 property:P1344 ?w . ?w rdf:type ontology:Q799469 }
Bobby Milroy
action filter_type
action find
entity Bobby Milroy
relation participant of
type Badminton World Championships
['Bobby Milroy', 'participant of', {'concept': 'Badminton World Championships'}]
SELECT DISTINCT ?w WHERE { resource:Bobby_Milroy property:participant_of ?w . ?w rdf:type ontology:Badminton_World_Championships }
[]
Badminton World Championships
Q799539
SYSTEM
2003 Badminton World Championships – Men's Singles
Q799539
(Q888625,P1344,c(Q799469))
action filter_type
action find
entity Q888625
relation P1344
type Q799469
[ANSWER] Bobby Milroy took in part
['Q888625', 'P1344', {'concept': 'Q799469'}]
SELECT DISTINCT ?w WHERE { resource:Q888625 property:P1344 ?w . ?w rdf:type ontology:Q799469 }
2003 Badminton World Championships – Men's Singles
2003 Badminton World Championships – Men's Singles Bobby Milroy took in part
2003 Badminton World Championships – Men's Singles
action filter_type
action find
entity Bobby Milroy
relation participant of
type Badminton World Championships
['Bobby Milroy', 'participant of', {'concept': 'Badminton World Championships'}]
SELECT DISTINCT ?w WHERE { resource:Bobby_Milroy property:participant_of ?w . ?w rdf:type ontology:Badminton_World_Championships }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q888625
Q653127
USER
And which Badminton at the Commonwealth Games?
(Q888625,P1344,c(Q653127))
action filter_type
action find
entity Q888625
relation P1344
type Q653127
['Q888625', 'P1344', {'concept': 'Q653127'}]
SELECT DISTINCT ?k WHERE { resource:Q888625 property:P1344 ?k . ?k rdf:type ontology:Q653127 }
Bobby Milroy
action filter_type
action find
entity Bobby Milroy
relation participant of
type Badminton at the Commonwealth Games
['Bobby Milroy', 'participant of', {'concept': 'Badminton at the Commonwealth Games'}]
SELECT DISTINCT ?k WHERE { resource:Bobby_Milroy property:participant_of ?k . ?k rdf:type ontology:Badminton_at_the_Commonwealth_Games }
[]
Badminton at the Commonwealth Games
Q1116523 Q1116561 Q1116641
SYSTEM
Badminton at the 1998 Commonwealth Games – Men's Singles, Badminton at the 2002 Commonwealth Games – Men's Singles, Badminton at the 2006 Commonwealth Games – Men's Singles
Q1116523 Q1116561 Q1116641
(Q888625,P1344,c(Q653127))
action filter_type
action find
entity Q888625
relation P1344
type Q653127
[ANSWERS]
['Q888625', 'P1344', {'concept': 'Q653127'}]
SELECT DISTINCT ?k WHERE { resource:Q888625 property:P1344 ?k . ?k rdf:type ontology:Q653127 }
Badminton at the 1998 Commonwealth Games – Men's Singles Badminton at the 2002 Commonwealth Games – Men's Singles Badminton at the 2006 Commonwealth Games – Men's Singles
Badminton at the 1998 Commonwealth Games – Men's Singles Badminton at the 2002 Commonwealth Games – Men's Singles Badminton at the 2006 Commonwealth Games – Men's Singles
action filter_type
action find
entity Bobby Milroy
relation participant of
type Badminton at the Commonwealth Games
['Bobby Milroy', 'participant of', {'concept': 'Badminton at the Commonwealth Games'}]
SELECT DISTINCT ?k WHERE { resource:Bobby_Milroy property:participant_of ?k . ?k rdf:type ontology:Badminton_at_the_Commonwealth_Games }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1116523 Q1116561 Q1116641
P1344
Q502895
USER
Which people participated in those Badmintons at the Commonwealth Games ?
(c(Q502895),P1344,Q1116523) (c(Q502895),P1344,Q1116561) (c(Q502895),P1344,Q1116641)
action filter_type
action find_reverse
entity prev_answer
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q1116523'] [{'concept': 'Q502895'}, 'P1344', 'Q1116561'] [{'concept': 'Q502895'}, 'P1344', 'Q1116641']
SELECT DISTINCT ?m WHERE { ?m property:P1344 ?b . VALUES ( ?b ) { ( resource:Q1116523 ) ( resource:Q1116561 ) ( resource:Q1116641 ) } . ?m rdf:type ontology:Q502895 }
Badminton at the 1998 Commonwealth Games – Men's Singles Badminton at the 2002 Commonwealth Games – Men's Singles Badminton at the 2006 Commonwealth Games – Men's Singles
action filter_type
action find_reverse
entity prev_answer
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Badminton at the 1998 Commonwealth Games – Men's Singles"] [{'concept': 'common name'}, 'participant of', "Badminton at the 2002 Commonwealth Games – Men's Singles"] [{'concept': 'common name'}, 'participant of', "Badminton at the 2006 Commonwealth Games – Men's Singles"]
SELECT DISTINCT ?m WHERE { ?m property:participant_of ?b . VALUES ( ?b ) { ( resource:Badminton_at_the_1998_Commonwealth_Games_–_Men's_Singles ) ( resource:Badminton_at_the_2002_Commonwealth_Games_–_Men's_Singles ) ( resource:Badminton_at_the_2006_Commonwealth_Games_–_Men's_Singles ) } . ?m rdf:type ontology:common_name }
[]
common name
Q319346 Q2150807 Q2150807
SYSTEM
Lee Chong Wei for 1st, Richard Vaughan for 2nd, 3rd
Q27290750 Q1174550 Q2600665 Q1478193 Q27291232 Q17277066 Q2357844 Q1414099 Q2024205 Q888625 Q1656026 Q1138641 Q703233 Q1909528 Q2170874 Q2150807 Q27290627 Q27291913 Q27119736 Q27270800 Q13445364 Q1899994 Q2096549 Q1938559 Q1187322 Q320613 Q1900204 Q27031598 Q546855 Q2158593 Q1077008 Q27300920 Q27292105 Q27300127 Q1933047 Q1236861 Q27289992 Q27300561 Q27290561 Q1264989 Q27300093 Q27300097 Q27268082 Q27300089 Q2076364 Q27291028 Q1017150 Q27290888 Q27300837 Q1379499 Q1985383 Q991622 Q27289718 Q1649230 Q991827 Q27289117 Q1402944 Q1683712 Q17275267 Q1926746 Q1929742 Q27291764 Q27290421 Q27291530 Q1475548 Q27269005 Q27289831 Q274270 Q27300299 Q15630985 Q1166700 Q27300761 Q17272803 Q431906 Q1166636 Q1166624 Q17275269 Q2357821 Q27300717 Q27269994 Q1452313 Q27268593 Q2357844 Q707205 Q1700239 Q1541330 Q1274726 Q888625 Q1656026 Q27271429 Q703233 Q27031195 Q493213 Q27270588 Q1541963 Q2150807 Q27270081 Q1509366 Q1758558 Q27271294 Q27119736 Q27270800 Q27031289 Q1899994 Q2096549 Q44586 Q1641570 Q1187322 Q320613 Q1284489 Q768232 Q1905841 Q27270891 Q27269402 Q132267 Q546855 Q1765917 Q27268751 Q725772 Q27267976 Q1236861 Q27031526 Q27271070 Q27271195 Q27268082 Q1251288 Q1379499 Q27268872 Q1985383 Q991622 Q1649230 Q27270699 Q991827 Q1108490 Q27268474 Q27269250 Q27269005 Q1656894 Q27270183 Q27269649 Q15630985 Q1166700 Q2344002 Q431906 Q1239283 Q559902 Q1065808 Q1336777 Q1452313 Q2357844 Q15831567 Q1274726 Q888625 Q678450 Q703233 Q1909528 Q27031195 Q27031193 Q27031194 Q27031199 Q1494496 Q300988 Q2150807 Q1509366 Q2023147 Q27031206 Q27031203 Q27031201 Q27031200 Q1533250 Q1905841 Q132267 Q546855 Q1765917 Q16325356 Q473163 Q1236861 Q369702 Q1017150 Q1379499 Q612515 Q1244991 Q1649230 Q1077156 Q319346 Q27031186 Q1226740 Q504363 Q274270 Q1604982 Q1166700 Q330709 Q559902 Q983488 Q1065808
(c(Q502895),P1344,Q1116523) (c(Q502895),P1344,Q1116561) (c(Q502895),P1344,Q1116641)
action filter_type
action find_reverse
entity prev_answer
relation P1344
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1344', 'Q1116523'] [{'concept': 'Q502895'}, 'P1344', 'Q1116561'] [{'concept': 'Q502895'}, 'P1344', 'Q1116641']
SELECT DISTINCT ?m WHERE { ?m property:P1344 ?b . VALUES ( ?b ) { ( resource:Q1116523 ) ( resource:Q1116561 ) ( resource:Q1116641 ) } . ?m rdf:type ontology:Q502895 }
Ryan Fong David Gilmour Yong Hock Kin Jim Mailer Abdullah Shakeeb Ong Rae Mun Stuart Brehaut Filivai Molia Ong Ewe Hock Bobby Milroy Ibraimo Mussagy Craig Robertson Wong Choong Hann Matthew Hughes Roy Paul jr. Richard Vaughan William Chater Leslie Dewart Bradley Graham David Geddes Geraint Lewis Mark Constable Pullela Gopichand Mirza Ali Yar Beg Denis Constantin Abhinn Shyam Gupta Mark Leadbeater Neale Woodroffe Anil Seepaul Robert Richards Chris Blair Tebogo Ofentse Subhash Janaka de Silva Mohamed Sharath Mike Beres Stephan Beeharry Awang Huzaini Md Salleh Anthony Arthur Junid Mohamad Duminda Jayakody Sheldon Caldeira Sebastiao Chicuana Awang Amran Kambar Daron Dasent Peter Knowles Charles Mensah Burty Molia Roger Ghee Lung Fong Emmanuel Kebairejang Geoffrey Bellingham Nick Hall Bruce Flockhart Charles Williams Wajid Ali Chaudhry Bruce Topping John Leung Johan Kleingeld Jarrod King Mubanga Kaite Michael Adams Michael Watt Mamdhoon Rasheed Ermadena Haji Talip Ahmed Riyaz Thushara Edirisinghe Mmoloki Motchala Manjula Sampath Fernando Édouard Clarisse Andre Stewart Doug Clark Darron Charles Harold Ndaba Nathan Malpass Nikhil Kanetkar Darren Le Tissier Darren Hall Stanley Pitiri Mwangulu Stuart Arthur Alexander Ayim Martin Awusu Adu Fred Gituku Jannik Jonsson Stuart Brehaut Ronald Susilo John Gordon Graeme Smith Kendrick Lee Yen Hui Bobby Milroy Ibraimo Mussagy Adam Nashwath Wong Choong Hann Kerwyn Pantin Andre Padmore Naseer Abdulla Ali Graham Simpson Richard Vaughan Simon Gaines Georgie Cupidon Sachin Ratti Kevin Leon Wood Bradley Graham David Geddes Makhula Makhula Mark Constable Pullela Gopichand Muhammad Hafiz Hashim Ola Fagbemi Denis Constantin Abhinn Shyam Gupta Edicha Ocholi Lee Tsuen Seng Martyn Lewis Nicholas Jumaye Zulkifli Bin Salleh Eli Mambwe Anil Seepaul Paul Le Tocq Hyder Aboobakar Ashley Brehaut Ryan Holder Stephan Beeharry Christopher Eynon Glendon Thomas Liam Ingram Awang Amran Kambar Dotun Akinsanya Geoffrey Bellingham Curwin Cherubin Nick Hall Bruce Flockhart Wajid Ali Chaudhry Abimbola Odejoke Bruce Topping Colin Haughton Issah Mohammed Orideetse Thela Mmoloki Motchala Idrisse Mussagy Alexander Haddad Ben Noah Ayim Doug Clark Darron Charles Stephan Wojcikiewicz Nikhil Kanetkar Ian Coombs-Goodfellow Niluka Karunaratne Charles Pyne Steve Malcouzane Fred Gituku Stuart Brehaut Chameera Kumarapperuma Kendrick Lee Yen Hui Bobby Milroy John Moody Wong Choong Hann Matthew Hughes Kerwyn Pantin Andrew Fairhurst Gavin Carter Clive Dunford Garron Palmer Aamir Ghaffar Richard Vaughan Georgie Cupidon Omar Zeeshan Deeneshsing Baboolall Rahul Rampersad Alexander Sim Fong Ghee Ming Jonathan Neil Morgan Martyn Lewis Eli Mambwe Anil Seepaul Paul Le Tocq Matthew John Wilkinson Philippe Bourret Stephan Beeharry Chetan Anand Burty Molia Geoffrey Bellingham Anup Sridhar Dorian James Wajid Ali Chaudhry Chris Dednam Lee Chong Wei Tan Wei Kiat Dinuka Karunaratne Andrew Dabeka Édouard Clarisse Hendra Wijaya Darron Charles Abraham Wogute Niluka Karunaratne Edwin Ekiring Charles Pyne
Lee Chong Wei, Richard Vaughan and Richard Vaughan participated in those Badmintons at the Commonwealth Games
Lee Chong Wei Richard Vaughan Richard Vaughan
action filter_type
action find_reverse
entity prev_answer
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Badminton at the 1998 Commonwealth Games – Men's Singles"] [{'concept': 'common name'}, 'participant of', "Badminton at the 2002 Commonwealth Games – Men's Singles"] [{'concept': 'common name'}, 'participant of', "Badminton at the 2006 Commonwealth Games – Men's Singles"]
SELECT DISTINCT ?m WHERE { ?m property:participant_of ?b . VALUES ( ?b ) { ( resource:Badminton_at_the_1998_Commonwealth_Games_–_Men's_Singles ) ( resource:Badminton_at_the_2002_Commonwealth_Games_–_Men's_Singles ) ( resource:Badminton_at_the_2006_Commonwealth_Games_–_Men's_Singles ) } . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1116523
P361
Q18608583
USER
What is Badminton at the 1998 Commonwealth Games – Men's Singles a component of ?
(Q1116523,P361,c(Q18608583))
action filter_type
action find
entity Q1116523
relation P361
type Q18608583
['Q1116523', 'P361', {'concept': 'Q18608583'}]
SELECT DISTINCT ?b WHERE { resource:Q1116523 property:P361 ?b . ?b rdf:type ontology:Q18608583 }
Badminton at the 1998 Commonwealth Games – Men's Singles
action filter_type
action find
entity Badminton at the 1998 Commonwealth Games – Men's Singles
relation part of
type recurring sporting event
["Badminton at the 1998 Commonwealth Games – Men's Singles", 'part of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?b WHERE { resource:Badminton_at_the_1998_Commonwealth_Games_–_Men's_Singles property:part_of ?b . ?b rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q1116515
SYSTEM
Badminton at the 1998 Commonwealth Games
Q1116515
(Q1116523,P361,c(Q18608583))
action filter_type
action find
entity Q1116523
relation P361
type Q18608583
[ANSWER] – Men's Singles a component of
['Q1116523', 'P361', {'concept': 'Q18608583'}]
SELECT DISTINCT ?b WHERE { resource:Q1116523 property:P361 ?b . ?b rdf:type ontology:Q18608583 }
Badminton at the 1998 Commonwealth Games
Badminton at the 1998 Commonwealth Games – Men's Singles a component of
Badminton at the 1998 Commonwealth Games
action filter_type
action find
entity Badminton at the 1998 Commonwealth Games – Men's Singles
relation part of
type recurring sporting event
["Badminton at the 1998 Commonwealth Games – Men's Singles", 'part of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?b WHERE { resource:Badminton_at_the_1998_Commonwealth_Games_–_Men's_Singles property:part_of ?b . ?b rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1116523
P710
Q502895
USER
Who attended that Badminton at the Commonwealth Games ?
(Q1116515,P710,c(Q502895))
action filter_type
action find
entity Q1116523
relation P710
type Q502895
['Q1116515', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q1116523 property:P710 ?q }
Badminton at the 1998 Commonwealth Games – Men's Singles
action filter_type
action find
entity Badminton at the 1998 Commonwealth Games – Men's Singles
relation participant
type common name
['Badminton at the 1998 Commonwealth Games', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Badminton_at_the_1998_Commonwealth_Games_–_Men's_Singles property:participant ?q }
[]
common name
Q2150807 Q2096549 Q703233
SYSTEM
Richard Vaughan, Pullela Gopichand, Wong Choong Hann
Q27290627 Q2096549 Q320613 Q2150807 Q1929742 Q27290888 Q27289718 Q27119736 Q274270 Q1166700 Q13445364 Q27291028 Q431906 Q1900204 Q27289992 Q1264989 Q27031598 Q2024205 Q27289831 Q1187322 Q27292105 Q1938559 Q1402944 Q2600665 Q1683712 Q27300127 Q1478193 Q15630985 Q1077008 Q27270800 Q27291913 Q17277066 Q27300089 Q1656026 Q991827 Q1174550 Q1236861 Q1475548 Q1649230 Q27291764 Q1017150 Q27300761 Q546855 Q27290750 Q1166636 Q1909528 Q1138641 Q2357844 Q1414099 Q1166624 Q17275269 Q17275267 Q888625 Q27291530 Q1899994 Q2357821 Q2170874 Q991622 Q27300837 Q27269005 Q1379499 Q703233 Q17272803 Q27291232 Q1926746 Q27300920 Q1933047 Q27289117 Q27290421 Q27290561 Q1985383 Q27268082 Q27300093 Q27300299 Q2158593 Q27300717 Q27300097 Q27300561 Q2076364
(Q1116515,P710,c(Q502895))
action filter_type
action find
entity Q1116523
relation P710
type Q502895
[ANSWERS] attended that Badminton at the Commonwealth Games
['Q1116515', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q1116523 property:P710 ?q }
William Chater Pullela Gopichand Abhinn Shyam Gupta Richard Vaughan Michael Watt Roger Ghee Lung Fong Charles Williams Bradley Graham Édouard Clarisse Darron Charles Geraint Lewis Charles Mensah Nikhil Kanetkar Mark Leadbeater Awang Huzaini Md Salleh Duminda Jayakody Neale Woodroffe Ong Ewe Hock Manjula Sampath Fernando Denis Constantin Subhash Janaka de Silva Mirza Ali Yar Beg Johan Kleingeld Yong Hock Kin Jarrod King Mohamed Sharath Jim Mailer Doug Clark Chris Blair David Geddes Leslie Dewart Ong Rae Mun Daron Dasent Ibraimo Mussagy Bruce Topping David Gilmour Stephan Beeharry Thushara Edirisinghe Wajid Ali Chaudhry Mamdhoon Rasheed Burty Molia Harold Ndaba Anil Seepaul Ryan Fong Darren Le Tissier Matthew Hughes Craig Robertson Stuart Brehaut Filivai Molia Darren Hall Stanley Pitiri Mwangulu Mubanga Kaite Bobby Milroy Ahmed Riyaz Mark Constable Stuart Arthur Roy Paul jr. Bruce Flockhart Emmanuel Kebairejang Mmoloki Motchala Geoffrey Bellingham Wong Choong Hann Nathan Malpass Abdullah Shakeeb Michael Adams Tebogo Ofentse Mike Beres John Leung Ermadena Haji Talip Junid Mohamad Nick Hall Awang Amran Kambar Sheldon Caldeira Andre Stewart Robert Richards Alexander Ayim Sebastiao Chicuana Anthony Arthur Peter Knowles
Richard Vaughan, Pullela Gopichand and Wong Choong Hann attended that Badminton at the Commonwealth Games
Richard Vaughan Pullela Gopichand Wong Choong Hann
action filter_type
action find
entity Badminton at the 1998 Commonwealth Games – Men's Singles
relation participant
type common name
['Badminton at the 1998 Commonwealth Games', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Badminton_at_the_1998_Commonwealth_Games_–_Men's_Singles property:participant ?q }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1116561
P710
Q653127
USER
Did those people participate in Badminton at the 2002 Commonwealth Games – Men's Singles ?
(Q1116561,P710,Q2150807) (Q1116561,P710,Q2096549) (Q1116561,P710,Q703233)
action is_in
entity prev_answer
action find
entity Q1116561
relation P710
['Q1116561', 'P710', 'Q2150807'] ['Q1116561', 'P710', 'Q2096549'] ['Q1116561', 'P710', 'Q703233']
ASK WHERE { resource:Q1116561 property:P710 ?m . VALUES ( ?m ) { ( resource:Q27290627 ) ( resource:Q2096549 ) ( resource:Q320613 ) } }
Badminton at the 2002 Commonwealth Games – Men's Singles
action is_in
entity prev_answer
action find
entity Badminton at the 2002 Commonwealth Games – Men's Singles
relation participant
["Badminton at the 2002 Commonwealth Games – Men's Singles", 'participant', 'Richard Vaughan'] ["Badminton at the 2002 Commonwealth Games – Men's Singles", 'participant', 'Pullela Gopichand'] ["Badminton at the 2002 Commonwealth Games – Men's Singles", 'participant', 'Wong Choong Hann']
ASK WHERE { resource:Badminton_at_the_2002_Commonwealth_Games_–_Men's_Singles property:participant ?m . VALUES ( ?m ) { ( resource:William_Chater ) ( resource:Pullela_Gopichand ) ( resource:Abhinn_Shyam_Gupta ) } }
[]
Badminton at the Commonwealth Games
SYSTEM
YES
(Q1116561,P710,Q2150807) (Q1116561,P710,Q2096549) (Q1116561,P710,Q703233)
action is_in
entity prev_answer
action find
entity Q1116561
relation P710
[ANSWER]
['Q1116561', 'P710', 'Q2150807'] ['Q1116561', 'P710', 'Q2096549'] ['Q1116561', 'P710', 'Q703233']
ASK WHERE { resource:Q1116561 property:P710 ?m . VALUES ( ?m ) { ( resource:Q27290627 ) ( resource:Q2096549 ) ( resource:Q320613 ) } }
Yes
action is_in
entity prev_answer
action find
entity Badminton at the 2002 Commonwealth Games – Men's Singles
relation participant
["Badminton at the 2002 Commonwealth Games – Men's Singles", 'participant', 'Richard Vaughan'] ["Badminton at the 2002 Commonwealth Games – Men's Singles", 'participant', 'Pullela Gopichand'] ["Badminton at the 2002 Commonwealth Games – Men's Singles", 'participant', 'Wong Choong Hann']
ASK WHERE { resource:Badminton_at_the_2002_Commonwealth_Games_–_Men's_Singles property:participant ?m . VALUES ( ?m ) { ( resource:William_Chater ) ( resource:Pullela_Gopichand ) ( resource:Abhinn_Shyam_Gupta ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 3157 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3157
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { FILTER ( ?g >= 3157 ) . { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?c } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3157
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { FILTER ( ?g >= 3157 ) . { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?c } }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3157
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { FILTER ( ?g >= 3157 ) . { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?c } }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3157
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { FILTER ( ?g >= 3157 ) . { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2096549
P734
Q82799
USER
Who is associated with Pullela Gopichand ?
(Q2096549,P734,c(Q82799))
action filter_type
action find
entity Q2096549
relation P734
type Q82799
['Q2096549', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q2096549 property:P734 ?l }
Pullela Gopichand
action filter_type
action find
entity Pullela Gopichand
relation family name
type name
['Pullela Gopichand', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Pullela_Gopichand property:family_name ?l }
[]
name
Q7259425
SYSTEM
Pullela
Q7259425
(Q2096549,P734,c(Q82799))
action filter_type
action find
entity Q2096549
relation P734
type Q82799
[ANSWER] is associated with [ANSWER] Gopichand
['Q2096549', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q2096549 property:P734 ?l }
Pullela
Pullela is associated with Pullela Gopichand
Pullela
action filter_type
action find
entity Pullela Gopichand
relation family name
type name
['Pullela Gopichand', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Pullela_Gopichand property:family_name ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2150807
P19
Q56061
USER
Which administrative territory was Richard Vaughan born in ?
(Q2150807,P19,c(Q56061))
action filter_type
action find
entity Q2150807
relation P19
type Q56061
['Q2150807', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2150807 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Richard Vaughan
action filter_type
action find
entity Richard Vaughan
relation place of birth
type administrative territorial entity
['Richard Vaughan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Richard_Vaughan property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q909119
SYSTEM
Caerphilly
Q909119
(Q2150807,P19,c(Q56061))
action filter_type
action find
entity Q2150807
relation P19
type Q56061
Richard Vaughan was born in [ANSWER]
['Q2150807', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q2150807 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Caerphilly
Richard Vaughan was born in Caerphilly
Caerphilly
action filter_type
action find
entity Richard Vaughan
relation place of birth
type administrative territorial entity
['Richard Vaughan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Richard_Vaughan property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q543468
Q56061
USER
And how about Christopher Fry?
(Q543468,P19,c(Q56061))
action filter_type
action find
entity Q543468
relation P19
type Q56061
['Q543468', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q543468 property:P19 ?p }
Christopher Fry
action filter_type
action find
entity Christopher Fry
relation place of birth
type administrative territorial entity
['Christopher Fry', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Christopher_Fry property:place_of_birth ?p }
[]
administrative territorial entity
Q23154
SYSTEM
Bristol
Q23154
(Q543468,P19,c(Q56061))
action filter_type
action find
entity Q543468
relation P19
type Q56061
[ANSWER]
['Q543468', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q543468 property:P19 ?p }
Bristol
Bristol
action filter_type
action find
entity Christopher Fry
relation place of birth
type administrative territorial entity
['Christopher Fry', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Christopher_Fry property:place_of_birth ?p }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
Which people use atleast 5 horse breeds or people as steed ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action atleast
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 5
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?h WHERE { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?h } . FILTER ( ?v >= 5 ) }
action atleast
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 5
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?h WHERE { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?h } . FILTER ( ?v >= 5 ) }
[]
horse breed common name common name
Q2120529 Q724288 Q288267
SYSTEM
Pénélope Leprevost, Rodrigo Pessoa, Éric Navet
Q2120529 Q724288 Q288267
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action atleast
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 5
[ANSWERS] use atleast 5 horse breeds or people as steed
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?h WHERE { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } GROUP BY ?h } . FILTER ( ?v >= 5 ) }
Pénélope Leprevost Rodrigo Pessoa Éric Navet
Pénélope Leprevost, Rodrigo Pessoa and Éric Navet use atleast 5 horse breeds or people as steed
Pénélope Leprevost Rodrigo Pessoa Éric Navet
action atleast
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 5
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?h WHERE { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:common_name ) ( ontology:horse_breed ) } } GROUP BY ?h } . FILTER ( ?v >= 5 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q288267
P106
Q12737077
USER
What does that person do for a living ?
(Q288267,P106,c(Q12737077))
action filter_type
action find
entity Q288267
relation P106
type Q12737077
['Q288267', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q288267 property:P106 ?m }
Éric Navet
action filter_type
action find
entity Éric Navet
relation occupation
type occupation
['Éric Navet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Éric_Navet property:occupation ?m }
[]
occupation
Clarification for simple ques.
Q2120529
SYSTEM
Did you mean Pénélope Leprevost ?
Q2120529 Q724288 Q288267
(Q2120529,P106,c(Q12737077)) (Q724288,P106,c(Q12737077)) (Q288267,P106,c(Q12737077))
[ANSWER]
['Q2120529', 'P106', {'concept': 'Q12737077'}] ['Q724288', 'P106', {'concept': 'Q12737077'}] ['Q288267', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q288267 property:P106 ?m }
Pénélope Leprevost Rodrigo Pessoa Éric Navet
Did you mean Pénélope Leprevost ?
Pénélope Leprevost
['Pénélope Leprevost', 'occupation', {'concept': 'occupation'}] ['Rodrigo Pessoa', 'occupation', {'concept': 'occupation'}] ['Éric Navet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Éric_Navet property:occupation ?m }
[]
Simple Question (Coreferenced)
USER
No, I meant Éric Navet. Could you tell me the answer for that?
(Q288267,P106,c(Q12737077))
Q288267
['Q288267', 'P106', {'concept': 'Q12737077'}]
['Éric Navet', 'occupation', {'concept': 'occupation'}]
[]
Q24797688
SYSTEM
show jumper
Q24797688
(Q288267,P106,c(Q12737077))
action filter_type
action find
entity Q288267
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q288267', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q288267 property:P106 ?m }
show jumper
Show jumper that person does for a living
show jumper
action filter_type
action find
entity Éric Navet
relation occupation
type occupation
['Éric Navet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Éric_Navet property:occupation ?m }
[]