Simple Question (Direct)
Simple Question
Q961580
P166
Q618779
USER
What was won by Arto Tchakmaktchian ?
(Q961580,P166,c(Q618779))
action filter_type
action find
entity Q961580
relation P166
type Q618779
['Q961580', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q961580 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Arto Tchakmaktchian
action filter_type
action find
entity Arto Tchakmaktchian
relation award received
type award
['Arto Tchakmaktchian', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Arto_Tchakmaktchian property:award_received ?y . ?y rdf:type ontology:award }
[]
award
Q2085270
SYSTEM
Order of the Badge of Honour
Q2085270
(Q961580,P166,c(Q618779))
action filter_type
action find
entity Q961580
relation P166
type Q618779
The [ANSWER] was won by Arto Tchakmaktchian
['Q961580', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q961580 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Order of the Badge of Honour
The Order of the Badge of Honour was won by Arto Tchakmaktchian
Order of the Badge of Honour
action filter_type
action find
entity Arto Tchakmaktchian
relation award received
type award
['Arto Tchakmaktchian', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Arto_Tchakmaktchian property:award_received ?y . ?y rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2085270
P17
Q15617994
USER
Which administrative territory is that award located in ?
(Q2085270,P17,c(Q15617994))
action filter_type
action find
entity Q2085270
relation P17
type Q15617994
['Q2085270', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2085270 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Order of the Badge of Honour
action filter_type
action find
entity Order of the Badge of Honour
relation country
type designation for an administrative territorial entity
['Order of the Badge of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Order_of_the_Badge_of_Honour property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q399
SYSTEM
Armenia
Q399
(Q2085270,P17,c(Q15617994))
action filter_type
action find
entity Q2085270
relation P17
type Q15617994
That award is located in [ANSWER]
['Q2085270', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2085270 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Armenia
That award is located in Armenia
Armenia
action filter_type
action find
entity Order of the Badge of Honour
relation country
type designation for an administrative territorial entity
['Order of the Badge of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Order_of_the_Badge_of_Honour property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q2085270
P21 P166
Q502895
USER
Which people were awarded with Order of the Badge of Honour and have the gender as male ?
AND((c(Q502895),P166,Q2085270), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2085270
relation P166
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q2085270'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P21 resource:Q6581097 . ?h property:P166 resource:Q2085270 . ?h rdf:type ontology:Q502895 }
male Order of the Badge of Honour
action filter_type
action intersection
action find_reverse
entity Order of the Badge of Honour
relation award received
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Order of the Badge of Honour'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:gender resource:male . ?h property:award_received resource:Order_of_the_Badge_of_Honour . ?h rdf:type ontology:common_name }
[]
common name
Q178517 Q3426851 Q529656 Q4261 Q1144326 Q460095 Q1383590 Q131248 Q3085724 Q167113
SYSTEM
Some of them are David Gilmour, René Rouquet, Slava Metreveli, Michel Platini, Yuri Oganessian, Tonino Guerra, Patrick Devedjian, Lee Kuan Yew, François Rochebloine, Karen Shakhnazarov
Q131248 Q153469 Q202733 Q178708 Q528959 Q982464 Q1966094 Q4461129 Q212167 Q346822 Q57427 Q1970982 Q313281 Q160154 Q4178418 Q2092920 Q718592 Q376495 Q313915 Q460095 Q4055033 Q4709588 Q612244 Q4292748 Q529656 Q1289335 Q3085724 Q4205845 Q713136 Q1144326 Q270978 Q167113 Q205230 Q278625 Q961580 Q15873 Q3426851 Q178517 Q4455397 Q983654 Q4190214 Q699696 Q380839 Q1383590 Q2622333 Q2991630 Q754778 Q156546 Q43330 Q471740 Q4096529 Q4299028 Q4261 Q551733 Q2074401 Q463194 Q460020 Q2563340
AND((c(Q502895),P166,Q2085270), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2085270
relation P166
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were awarded with Order of the Badge of Honour and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q2085270'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?h WHERE { ?h property:P21 resource:Q6581097 . ?h property:P166 resource:Q2085270 . ?h rdf:type ontology:Q502895 }
Lee Kuan Yew Krzysztof Penderecki Tony Iommi Raimonds Pauls Tigran L. Petrosian Igor Levitin Konstantin Zatulin Anatoly Torkunov Atom Egoyan Geoff Downes Michel Suleiman Tigran Mansurian Michel Legrand Evgeny Kissin Suliko Jgenti Levon Sayan Gabriel Sargissian Gevork Vartanian Sergey Kiriyenko Tonino Guerra Ara Abramyan Albert A. Boyajian Yury Chaika Andranik Migranyan Slava Metreveli Edvard Mirzoyan François Rochebloine Ralph Yirikian Nikita Simonyan Yuri Oganessian Karekin II Karen Shakhnazarov Ian Gillan Vladimir Solovyov Arto Tchakmaktchian Brian May René Rouquet David Gilmour Jean Ter-Merguerian Sergey Naryshkin Perch Zeytuntsyan Vladimir Yakunin Vladimir Akopian Patrick Devedjian Yury Grigorovich Jean Jansem Sultan bin Mohamed Al-Qasimi Yuri Bashmet Mikhail Saakashvili Armen Dzhigarkhanyan Sergey Brilev Vladimir Migranovich Movsisyan Michel Platini Alain Terzian Konstantin Orbelyan Alexander Arutiunian Sergei Movsesian Mukhran Machavariani
David Gilmour, René Rouquet, Slava Metreveli, Michel Platini, Yuri Oganessian, Tonino Guerra, Patrick Devedjian, Lee Kuan Yew, François Rochebloine and Karen Shakhnazarov were awarded with Order of the Badge of Honour and have the gender as male
David Gilmour René Rouquet Slava Metreveli Michel Platini Yuri Oganessian Tonino Guerra Patrick Devedjian Lee Kuan Yew François Rochebloine Karen Shakhnazarov
action filter_type
action intersection
action find_reverse
entity Order of the Badge of Honour
relation award received
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'Order of the Badge of Honour'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?h WHERE { ?h property:gender resource:male . ?h property:award_received resource:Order_of_the_Badge_of_Honour . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q178517 Q3426851 Q529656 Q4261 Q1144326 Q460095 Q1383590 Q131248 Q3085724 Q167113
P166
Q618779
USER
Which awards were those people awarded with ?
(Q178517,P166,c(Q618779)) (Q3426851,P166,c(Q618779)) (Q529656,P166,c(Q618779)) (Q4261,P166,c(Q618779)) (Q1144326,P166,c(Q618779)) (Q460095,P166,c(Q618779)) (Q1383590,P166,c(Q618779)) (Q131248,P166,c(Q618779)) (Q3085724,P166,c(Q618779)) (Q167113,P166,c(Q618779))
action filter_type
action find
entity prev_answer
relation P166
type Q618779
['Q178517', 'P166', {'concept': 'Q618779'}] ['Q3426851', 'P166', {'concept': 'Q618779'}] ['Q529656', 'P166', {'concept': 'Q618779'}] ['Q4261', 'P166', {'concept': 'Q618779'}] ['Q1144326', 'P166', {'concept': 'Q618779'}] ['Q460095', 'P166', {'concept': 'Q618779'}] ['Q1383590', 'P166', {'concept': 'Q618779'}] ['Q131248', 'P166', {'concept': 'Q618779'}] ['Q3085724', 'P166', {'concept': 'Q618779'}] ['Q167113', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?e property:P166 ?i . VALUES ( ?e ) { ( resource:Q131248 ) ( resource:Q153469 ) ( resource:Q202733 ) } . ?i rdf:type ontology:Q618779 }
David Gilmour René Rouquet Slava Metreveli Michel Platini Yuri Oganessian Tonino Guerra Patrick Devedjian Lee Kuan Yew François Rochebloine Karen Shakhnazarov
action filter_type
action find
entity prev_answer
relation award received
type award
['David Gilmour', 'award received', {'concept': 'award'}] ['René Rouquet', 'award received', {'concept': 'award'}] ['Slava Metreveli', 'award received', {'concept': 'award'}] ['Michel Platini', 'award received', {'concept': 'award'}] ['Yuri Oganessian', 'award received', {'concept': 'award'}] ['Tonino Guerra', 'award received', {'concept': 'award'}] ['Patrick Devedjian', 'award received', {'concept': 'award'}] ['Lee Kuan Yew', 'award received', {'concept': 'award'}] ['François Rochebloine', 'award received', {'concept': 'award'}] ['Karen Shakhnazarov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?e property:award_received ?i . VALUES ( ?e ) { ( resource:Lee_Kuan_Yew ) ( resource:Krzysztof_Penderecki ) ( resource:Tony_Iommi ) } . ?i rdf:type ontology:award }
[]
award
Q10855195 Q2085270 Q2085270
SYSTEM
Order of the Badge of Honour for 2nd, 3rd, Officer of the Legion of Honour for 1st
Q2085270 Q2085270 Q2085270 Q166177 Q13422140 Q10855195 Q2085270 Q2268261 Q2085270 Q18080427 Q18080423 Q583881 Q2268261 Q2085270 Q2085270 Q2268261 Q2085270 Q2085270 Q2268261 Q2085270 Q18080423
(Q178517,P166,c(Q618779)) (Q3426851,P166,c(Q618779)) (Q529656,P166,c(Q618779)) (Q4261,P166,c(Q618779)) (Q1144326,P166,c(Q618779)) (Q460095,P166,c(Q618779)) (Q1383590,P166,c(Q618779)) (Q131248,P166,c(Q618779)) (Q3085724,P166,c(Q618779)) (Q167113,P166,c(Q618779))
action filter_type
action find
entity prev_answer
relation P166
type Q618779
[ANSWERS]
['Q178517', 'P166', {'concept': 'Q618779'}] ['Q3426851', 'P166', {'concept': 'Q618779'}] ['Q529656', 'P166', {'concept': 'Q618779'}] ['Q4261', 'P166', {'concept': 'Q618779'}] ['Q1144326', 'P166', {'concept': 'Q618779'}] ['Q460095', 'P166', {'concept': 'Q618779'}] ['Q1383590', 'P166', {'concept': 'Q618779'}] ['Q131248', 'P166', {'concept': 'Q618779'}] ['Q3085724', 'P166', {'concept': 'Q618779'}] ['Q167113', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?i WHERE { ?e property:P166 ?i . VALUES ( ?e ) { ( resource:Q131248 ) ( resource:Q153469 ) ( resource:Q202733 ) } . ?i rdf:type ontology:Q618779 }
Order of the Badge of Honour Order of the Badge of Honour Order of the Badge of Honour Ballon d’Or Officer of the National Order of Merit Officer of the Legion of Honour Order of the Badge of Honour Order of Honour Order of the Badge of Honour Order For Services to the Fatherland 3rd class Order For Services to the Fatherland 4th class Order of Friendship of Peoples Order of Honour Order of the Badge of Honour Order of the Badge of Honour Order of Honour Order of the Badge of Honour Order of the Badge of Honour Order of Honour Order of the Badge of Honour Order For Services to the Fatherland 4th class
Those people were awarded Officer of the Legion of Honour, Order of the Badge of Honour and Order of the Badge of Honour
Officer of the Legion of Honour Order of the Badge of Honour Order of the Badge of Honour
action filter_type
action find
entity prev_answer
relation award received
type award
['David Gilmour', 'award received', {'concept': 'award'}] ['René Rouquet', 'award received', {'concept': 'award'}] ['Slava Metreveli', 'award received', {'concept': 'award'}] ['Michel Platini', 'award received', {'concept': 'award'}] ['Yuri Oganessian', 'award received', {'concept': 'award'}] ['Tonino Guerra', 'award received', {'concept': 'award'}] ['Patrick Devedjian', 'award received', {'concept': 'award'}] ['Lee Kuan Yew', 'award received', {'concept': 'award'}] ['François Rochebloine', 'award received', {'concept': 'award'}] ['Karen Shakhnazarov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?i WHERE { ?e property:award_received ?i . VALUES ( ?e ) { ( resource:Lee_Kuan_Yew ) ( resource:Krzysztof_Penderecki ) ( resource:Tony_Iommi ) } . ?i rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q399
P35
Q502895
USER
Who is elected as the head of state of Armenia ?
(Q399,P35,c(Q502895))
action filter_type
action find
entity Q399
relation P35
type Q502895
['Q399', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q399 property:P35 ?q . ?q rdf:type ontology:Q502895 }
Armenia
action filter_type
action find
entity Armenia
relation head of state
type common name
['Armenia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Armenia property:head_of_state ?q . ?q rdf:type ontology:common_name }
[]
common name
Q612803
SYSTEM
Serzh Sargsyan
Q612803
(Q399,P35,c(Q502895))
action filter_type
action find
entity Q399
relation P35
type Q502895
[ANSWER] is elected as the head of state of Armenia
['Q399', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q399 property:P35 ?q . ?q rdf:type ontology:Q502895 }
Serzh Sargsyan
Serzh Sargsyan is elected as the head of state of Armenia
Serzh Sargsyan
action filter_type
action find
entity Armenia
relation head of state
type common name
['Armenia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Armenia property:head_of_state ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q941396
Q502895
USER
And also tell me about J. B. M. Hertzog government?
(Q941396,P35,c(Q502895))
action filter_type
action find
entity Q941396
relation P35
type Q502895
['Q941396', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q941396 property:P35 ?e }
J. B. M. Hertzog government
action filter_type
action find
entity J. B. M. Hertzog government
relation head of state
type common name
['J. B. M. Hertzog government', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:J._B._M._Hertzog_government property:head_of_state ?e }
[]
common name
Q269412
SYSTEM
George V
Q269412
(Q941396,P35,c(Q502895))
action filter_type
action find
entity Q941396
relation P35
type Q502895
[ANSWER]
['Q941396', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q941396 property:P35 ?e }
George V
George V
action filter_type
action find
entity J. B. M. Hertzog government
relation head of state
type common name
['J. B. M. Hertzog government', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:J._B._M._Hertzog_government property:head_of_state ?e }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q114142 Q167113
P26
Q502895
USER
Which people are the life partner of Karen Shakhnazarov or Violeta Chamorro ?
OR((Q167113,P26,c(Q502895)), (Q114142,P26,c(Q502895)))
action filter_type
action union
action find
entity Q167113
relation P26
action find
entity Q114142
relation P26
type Q502895
{'OR': [['Q167113', 'P26', {'concept': 'Q502895'}], ['Q114142', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q167113 property:P26 ?h } UNION { resource:Q114142 property:P26 ?h } } . ?h rdf:type ontology:Q502895 }
Violeta Chamorro Karen Shakhnazarov
action filter_type
action union
action find
entity Karen Shakhnazarov
relation spouse
action find
entity Violeta Chamorro
relation spouse
type common name
{'OR': [['Karen Shakhnazarov', 'spouse', {'concept': 'common name'}], ['Violeta Chamorro', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Karen_Shakhnazarov property:spouse ?h } UNION { resource:Violeta_Chamorro property:spouse ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q706743 Q8522615
SYSTEM
Pedro Joaquín Chamorro Cardenal, Aliona Zander
Q706743 Q8522615
OR((Q167113,P26,c(Q502895)), (Q114142,P26,c(Q502895)))
action filter_type
action union
action find
entity Q167113
relation P26
action find
entity Q114142
relation P26
type Q502895
[ANSWERS] are the life partner of Karen Shakhnazarov or Violeta Chamorro
{'OR': [['Q167113', 'P26', {'concept': 'Q502895'}], ['Q114142', 'P26', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q167113 property:P26 ?h } UNION { resource:Q114142 property:P26 ?h } } . ?h rdf:type ontology:Q502895 }
Pedro Joaquín Chamorro Cardenal Aliona Zander
Pedro Joaquín Chamorro Cardenal and Aliona Zander are the life partner of Karen Shakhnazarov or Violeta Chamorro
Pedro Joaquín Chamorro Cardenal Aliona Zander
action filter_type
action union
action find
entity Karen Shakhnazarov
relation spouse
action find
entity Violeta Chamorro
relation spouse
type common name
{'OR': [['Karen Shakhnazarov', 'spouse', {'concept': 'common name'}], ['Violeta Chamorro', 'spouse', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Karen_Shakhnazarov property:spouse ?h } UNION { resource:Violeta_Chamorro property:spouse ?h } } . ?h rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P488
Q7210356
USER
How many political organizations are that person a chairperson of ?
(c(Q7210356),P488,Q706743)
[{'concept': 'Q7210356'}, 'P488', 'Q706743']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q140686 resource:Q706743 . ?z rdf:type ontology:Q7210356 }
[{'concept': 'political organization'}, 'chairperson', 'Pedro Joaquín Chamorro Cardenal']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:chairperson resource:Pedro_Joaquín_Chamorro_Cardenal . ?z rdf:type ontology:political_organization }
[]
political organization
Quantitative|Count|Single entity type|Clarification
Q8522615
SYSTEM
Did you mean Aliona Zander ?
(c(Q7210356),P488,Q706743) (c(Q7210356),P488,Q8522615)
[ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q706743'] [{'concept': 'Q7210356'}, 'P488', 'Q8522615']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q140686 resource:Q706743 . ?z rdf:type ontology:Q7210356 }
Did you mean Aliona Zander ?
Aliona Zander
[{'concept': 'political organization'}, 'chairperson', 'Pedro Joaquín Chamorro Cardenal'] [{'concept': 'political organization'}, 'chairperson', 'Aliona Zander']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:chairperson resource:Pedro_Joaquín_Chamorro_Cardenal . ?z rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Pedro Joaquín Chamorro Cardenal. Could you tell me the answer for that?
(c(Q7210356),P488,Q706743)
Q706743
[{'concept': 'Q7210356'}, 'P488', 'Q706743']
[{'concept': 'political organization'}, 'chairperson', 'Pedro Joaquín Chamorro Cardenal']
[]
SYSTEM
1
Q3784387
(c(Q7210356),P488,Q706743)
[ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q706743']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q140686 resource:Q706743 . ?z rdf:type ontology:Q7210356 }
National Opposition Union
1
[{'concept': 'political organization'}, 'chairperson', 'Pedro Joaquín Chamorro Cardenal']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:chairperson resource:Pedro_Joaquín_Chamorro_Cardenal . ?z rdf:type ontology:political_organization }
[]