Simple Question (Direct)
Simple Question
Q5885403
P106
Q12737077
USER
What do Gregorio García de Tagle do for a living ?
(Q5885403,P106,c(Q12737077))
action filter_type
action find
entity Q5885403
relation P106
type Q12737077
['Q5885403', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5885403 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Gregorio García de Tagle
action filter_type
action find
entity Gregorio García de Tagle
relation occupation
type occupation
['Gregorio García de Tagle', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Gregorio_García_de_Tagle property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q193391 Q16533 Q82955
SYSTEM
diplomat, judge, politician
Q193391 Q16533 Q82955 Q572700
(Q5885403,P106,c(Q12737077))
action filter_type
action find
entity Q5885403
relation P106
type Q12737077
[ANSWERS] Gregorio García de Tagle do for a living
['Q5885403', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q5885403 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
diplomat judge politician bureaucrat
Diplomat, judge and politician Gregorio García de Tagle do for a living
diplomat judge politician
action filter_type
action find
entity Gregorio García de Tagle
relation occupation
type occupation
['Gregorio García de Tagle', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Gregorio_García_de_Tagle property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q193391 Q16533 Q82955
P39
Q502895
USER
Which people were appointed for the position of those occupations ?
(c(Q502895),P39,Q193391) (c(Q502895),P39,Q16533) (c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q193391'] [{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P39 ?a . VALUES ( ?a ) { ( resource:Q193391 ) ( resource:Q16533 ) ( resource:Q82955 ) } }
diplomat judge politician
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'diplomat'] [{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:position_held ?a . VALUES ( ?a ) { ( resource:diplomat ) ( resource:judge ) ( resource:politician ) } }
[]
common name
Q2563 Q239235 Q1716914
SYSTEM
Roman Herzog, Louise Arbour, Karl Korinek
Q699131 Q19828328 Q16912378 Q20729887 Q2838761 Q26309250 Q239235 Q25931074 Q20870759 Q1079816 Q17325636 Q17513548 Q1608398 Q20752961 Q19309108 Q16104843 Q11774059 Q21816212 Q12044291 Q12044291 Q12044291 Q2563 Q1716914 Q12022513 Q11878277 Q1203647 Q1281364 Q12025988 Q16484626 Q26098205 Q17113548 Q16617878 Q10395805 Q8018535 Q463824 Q20870783 Q22337798 Q22337798 Q6243592 Q26215129
(c(Q502895),P39,Q193391) (c(Q502895),P39,Q16533) (c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS] were appointed for the position of those occupations
[{'concept': 'Q502895'}, 'P39', 'Q193391'] [{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P39 ?a . VALUES ( ?a ) { ( resource:Q193391 ) ( resource:Q16533 ) ( resource:Q82955 ) } }
Xiong Xianghui Antonio Caselli Alexandre Melnik Pierre-Joseph Cavallier Allyre Sirois Matthias Manthei Louise Arbour Halsey R. Wing François Marcellot Christian Gerhard Overbeck Paul Schellhas Athaliah Molokomme Herbert Haller Friedrich Lachmund Siegbert Morscher N. Patrick Crooks Dagmar Lastovecká Fritz Töpffer Pavel Varvařovský Pavel Varvařovský Pavel Varvařovský Roman Herzog Karl Korinek Jan Filip Eliška Wagnerová George Baer Eckart Ratz Josef Fiala Abel Graça Carl Schlettwein Arnvid Vasbotten Włodzimierz Wróbel Álvaro Gurgel de Alencar William Smith Otakar Motejl Jacques-Charles Marcellot Pedro Pereira da Silva Guimarães Pedro Pereira da Silva Guimarães John L. Harding Morteza Azari
Roman Herzog, Louise Arbour and Karl Korinek were appointed for the position of those occupations
Roman Herzog Louise Arbour Karl Korinek
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'diplomat'] [{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:position_held ?a . VALUES ( ?a ) { ( resource:diplomat ) ( resource:judge ) ( resource:politician ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1716914
P27
Q1048835
USER
Which political territory does Karl Korinek belong to ?
(Q1716914,P27,c(Q1048835))
action filter_type
action find
entity Q1716914
relation P27
type Q1048835
['Q1716914', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1716914 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Karl Korinek
action filter_type
action find
entity Karl Korinek
relation country of citizenship
type political territorial entity
['Karl Korinek', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Karl_Korinek property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1716914,P27,c(Q1048835))
action filter_type
action find
entity Q1716914
relation P27
type Q1048835
Karl Korinek belongs to [ANSWER]
['Q1716914', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q1716914 property:P27 ?b . ?b rdf:type ontology:Q1048835 }
Austria
Karl Korinek belongs to Austria
Austria
action filter_type
action find
entity Karl Korinek
relation country of citizenship
type political territorial entity
['Karl Korinek', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Karl_Korinek property:country_of_citizenship ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1716914
P488
Q41487
USER
Which court is Karl Korinek a chairperson of ?
(c(Q41487),P488,Q1716914)
action filter_type
action find_reverse
entity Q1716914
relation P488
type Q41487
[{'concept': 'Q41487'}, 'P488', 'Q1716914']
SELECT DISTINCT ?c WHERE { ?c property:P488 resource:Q1716914 . ?c rdf:type ontology:Q41487 }
Karl Korinek
action filter_type
action find_reverse
entity Karl Korinek
relation chairperson
type court
[{'concept': 'court'}, 'chairperson', 'Karl Korinek']
SELECT DISTINCT ?c WHERE { ?c property:chairperson resource:Karl_Korinek . ?c rdf:type ontology:court }
[]
court
Q873868
SYSTEM
Constitutional Court
Q873868
(c(Q41487),P488,Q1716914)
action filter_type
action find_reverse
entity Q1716914
relation P488
type Q41487
The [ANSWER] is Karl Korinek a chairperson of
[{'concept': 'Q41487'}, 'P488', 'Q1716914']
SELECT DISTINCT ?c WHERE { ?c property:P488 resource:Q1716914 . ?c rdf:type ontology:Q41487 }
Constitutional Court
The Constitutional Court is Karl Korinek a chairperson of
Constitutional Court
action filter_type
action find_reverse
entity Karl Korinek
relation chairperson
type court
[{'concept': 'court'}, 'chairperson', 'Karl Korinek']
SELECT DISTINCT ?c WHERE { ?c property:chairperson resource:Karl_Korinek . ?c rdf:type ontology:court }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1716914
P166
Q618779
USER
What were received by that person ?
(Q873868,P166,c(Q618779))
action filter_type
action find
entity Q1716914
relation P166
type Q618779
['Q873868', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q1716914 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Karl Korinek
action filter_type
action find
entity Karl Korinek
relation award received
type award
['Constitutional Court', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Karl_Korinek property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q10905171 Q18608365
SYSTEM
Grand Cross of the Order of Merit of the Federal Republic of Germany, Knight Grand Cross of the Order of St. Sylvester
Q10905171 Q18608365
(Q873868,P166,c(Q618779))
action filter_type
action find
entity Q1716914
relation P166
type Q618779
Germany [ANSWERS] were received by that person
['Q873868', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q1716914 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Grand Cross of the Order of Merit of the Federal Republic of Germany Knight Grand Cross of the Order of St. Sylvester
Germany Grand Cross of the Order of Merit of the Federal Republic of Germany and Knight Grand Cross of the Order of St. Sylvester were received by that person
Grand Cross of the Order of Merit of the Federal Republic of Germany Knight Grand Cross of the Order of St. Sylvester
action filter_type
action find
entity Karl Korinek
relation award received
type award
['Constitutional Court', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Karl_Korinek property:award_received ?s . ?s rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1341952
P166
Q502895
USER
Were Engelbert Niebler honoured with those awards ?
(Q1341952,P166,Q10905171) (Q1341952,P166,Q18608365)
action is_in
entity prev_answer
action find
entity Q1341952
relation P166
['Q1341952', 'P166', 'Q10905171'] ['Q1341952', 'P166', 'Q18608365']
ASK WHERE { VALUES ( ?l ) { ( resource:Q10905171 ) ( resource:Q18608365 ) } . resource:Q1341952 property:P166 ?l }
Engelbert Niebler
action is_in
entity prev_answer
action find
entity Engelbert Niebler
relation award received
['Engelbert Niebler', 'award received', 'Grand Cross of the Order of Merit of the Federal Republic of Germany'] ['Engelbert Niebler', 'award received', 'Knight Grand Cross of the Order of St. Sylvester']
ASK WHERE { VALUES ( ?l ) { ( resource:Grand_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany ) ( resource:Knight_Grand_Cross_of_the_Order_of_St._Sylvester ) } . resource:Engelbert_Niebler property:award_received ?l }
[]
common name
SYSTEM
YES
(Q1341952,P166,Q10905171) (Q1341952,P166,Q18608365)
action is_in
entity prev_answer
action find
entity Q1341952
relation P166
[ANSWER]
['Q1341952', 'P166', 'Q10905171'] ['Q1341952', 'P166', 'Q18608365']
ASK WHERE { VALUES ( ?l ) { ( resource:Q10905171 ) ( resource:Q18608365 ) } . resource:Q1341952 property:P166 ?l }
Yes
action is_in
entity prev_answer
action find
entity Engelbert Niebler
relation award received
['Engelbert Niebler', 'award received', 'Grand Cross of the Order of Merit of the Federal Republic of Germany'] ['Engelbert Niebler', 'award received', 'Knight Grand Cross of the Order of St. Sylvester']
ASK WHERE { VALUES ( ?l ) { ( resource:Grand_Cross_of_the_Order_of_Merit_of_the_Federal_Republic_of_Germany ) ( resource:Knight_Grand_Cross_of_the_Order_of_St._Sylvester ) } . resource:Engelbert_Niebler property:award_received ?l }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q873868 Q4506676 Q2004241
P17
Q1048835
USER
Is Constitutional Court located in Chahor and Ampére ?
(Q873868,P17,Q4506676) (Q873868,P17,Q2004241)
action is_in
entity Q873868
action intersection
action find_reverse
entity Q4506676
relation P17
action find_reverse
entity Q2004241
relation P17
['Q873868', 'P17', 'Q4506676'] ['Q873868', 'P17', 'Q2004241']
ASK WHERE { resource:Q873868 property:P17 resource:Q4506676 . resource:Q873868 property:P17 resource:Q2004241 }
Constitutional Court Chahor Ampére
action is_in
entity Constitutional Court
action intersection
action find_reverse
entity Chahor
relation country
action find_reverse
entity Ampére
relation country
['Constitutional Court', 'country', 'Chahor'] ['Constitutional Court', 'country', 'Ampére']
ASK WHERE { resource:Constitutional_Court property:country resource:Chahor . resource:Constitutional_Court property:country resource:Ampére }
[]
political territorial entity
SYSTEM
NO
(Q873868,P17,Q4506676) (Q873868,P17,Q2004241)
action is_in
entity Q873868
action intersection
action find_reverse
entity Q4506676
relation P17
action find_reverse
entity Q2004241
relation P17
[ANSWER]
['Q873868', 'P17', 'Q4506676'] ['Q873868', 'P17', 'Q2004241']
ASK WHERE { resource:Q873868 property:P17 resource:Q4506676 . resource:Q873868 property:P17 resource:Q2004241 }
No
action is_in
entity Constitutional Court
action intersection
action find_reverse
entity Chahor
relation country
action find_reverse
entity Ampére
relation country
['Constitutional Court', 'country', 'Chahor'] ['Constitutional Court', 'country', 'Ampére']
ASK WHERE { resource:Constitutional_Court property:country resource:Chahor . resource:Constitutional_Court property:country resource:Ampére }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q40 Q4766747 Q18618709
P6
Q502895
USER
Does Austria have its government headed by Ann Wigmore and Simon Joachim Filén ?
(Q40,P6,Q4766747) (Q40,P6,Q18618709)
action is_in
entity Q40
action intersection
action find_reverse
entity Q4766747
relation P6
action find_reverse
entity Q18618709
relation P6
['Q40', 'P6', 'Q4766747'] ['Q40', 'P6', 'Q18618709']
ASK WHERE { resource:Q40 property:P6 resource:Q4766747 . resource:Q40 property:P6 resource:Q18618709 }
Austria Ann Wigmore Simon Joachim Filén
action is_in
entity Austria
action intersection
action find_reverse
entity Ann Wigmore
relation head of government
action find_reverse
entity Simon Joachim Filén
relation head of government
['Austria', 'head of government', 'Ann Wigmore'] ['Austria', 'head of government', 'Simon Joachim Filén']
ASK WHERE { resource:Austria property:head_of_government resource:Ann_Wigmore . resource:Austria property:head_of_government resource:Simon_Joachim_Filén }
[]
common name
SYSTEM
NO
(Q40,P6,Q4766747) (Q40,P6,Q18618709)
action is_in
entity Q40
action intersection
action find_reverse
entity Q4766747
relation P6
action find_reverse
entity Q18618709
relation P6
[ANSWER]
['Q40', 'P6', 'Q4766747'] ['Q40', 'P6', 'Q18618709']
ASK WHERE { resource:Q40 property:P6 resource:Q4766747 . resource:Q40 property:P6 resource:Q18618709 }
No
action is_in
entity Austria
action intersection
action find_reverse
entity Ann Wigmore
relation head of government
action find_reverse
entity Simon Joachim Filén
relation head of government
['Austria', 'head of government', 'Ann Wigmore'] ['Austria', 'head of government', 'Simon Joachim Filén']
ASK WHERE { resource:Austria property:head_of_government resource:Ann_Wigmore . resource:Austria property:head_of_government resource:Simon_Joachim_Filén }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q812306
P1027
Q33506 Q1002697 Q618779
USER
How many awards are awarded by greater number of museums or periodical literatures than Bayerische Verfassungsmedaille ?
(c(Q618779),P1027,c(Q33506)|c(Q1002697))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q33506
action find_tuple_counts
relation P1027
type Q618779
type Q1002697
action count
action filter_multi_types
action find
entity Q812306
relation P1027
type Q33506
type Q1002697
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q33506'}, {'concept': 'Q1002697'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?g ) WHERE { { ?q property:P1027 ?y . ?q rdf:type ontology:Q618779 . ?y rdf:type ontology:Q33506 } UNION { ?q property:P1027 ?y . ?q rdf:type ontology:Q618779 . ?y rdf:type ontology:Q1002697 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q812306 property:P1027 ?x . { { ?x rdf:type ontology:Q33506 } UNION { ?x rdf:type ontology:Q1002697 } } } } . FILTER ( ?g > ?t ) }
Bayerische Verfassungsmedaille
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type museum
action find_tuple_counts
relation conferred by
type award
type periodical literature
action count
action filter_multi_types
action find
entity Bayerische Verfassungsmedaille
relation conferred by
type museum
type periodical literature
[{'concept': 'award'}, 'conferred by', [{'concept': 'museum'}, {'concept': 'periodical literature'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?g ) WHERE { { ?q property:conferred_by ?y . ?q rdf:type ontology:award . ?y rdf:type ontology:museum } UNION { ?q property:conferred_by ?y . ?q rdf:type ontology:award . ?y rdf:type ontology:periodical_literature } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Bayerische_Verfassungsmedaille property:conferred_by ?x . { { ?x rdf:type ontology:museum } UNION { ?x rdf:type ontology:periodical_literature } } } } . FILTER ( ?g > ?t ) }
[]
museum periodical literature award
SYSTEM
8
Q21126541 Q10700415 Q1124948 Q5580323 Q1793320 Q25052096 Q729513 Q12327571
(c(Q618779),P1027,c(Q33506)|c(Q1002697))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q33506
action find_tuple_counts
relation P1027
type Q618779
type Q1002697
action count
action filter_multi_types
action find
entity Q812306
relation P1027
type Q33506
type Q1002697
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q33506'}, {'concept': 'Q1002697'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?g ) WHERE { { ?q property:P1027 ?y . ?q rdf:type ontology:Q618779 . ?y rdf:type ontology:Q33506 } UNION { ?q property:P1027 ?y . ?q rdf:type ontology:Q618779 . ?y rdf:type ontology:Q1002697 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q812306 property:P1027 ?x . { { ?x rdf:type ontology:Q33506 } UNION { ?x rdf:type ontology:Q1002697 } } } } . FILTER ( ?g > ?t ) }
Kirkus Prize Söderberg Prize Ricardo Zamora Trophy Goldsmiths Prize Kurt Vorhofer Award Leidy Award Pichichi Trophy Montanas Litteraturpris
8
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type museum
action find_tuple_counts
relation conferred by
type award
type periodical literature
action count
action filter_multi_types
action find
entity Bayerische Verfassungsmedaille
relation conferred by
type museum
type periodical literature
[{'concept': 'award'}, 'conferred by', [{'concept': 'museum'}, {'concept': 'periodical literature'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?g ) WHERE { { ?q property:conferred_by ?y . ?q rdf:type ontology:award . ?y rdf:type ontology:museum } UNION { ?q property:conferred_by ?y . ?q rdf:type ontology:award . ?y rdf:type ontology:periodical_literature } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Bayerische_Verfassungsmedaille property:conferred_by ?x . { { ?x rdf:type ontology:museum } UNION { ?x rdf:type ontology:periodical_literature } } } } . FILTER ( ?g > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40
P710
Q1914636
USER
Which activity was Austria a participant of ?
(c(Q1914636),P710,Q40)
action filter_type
action find_reverse
entity Q40
relation P710
type Q1914636
[{'concept': 'Q1914636'}, 'P710', 'Q40']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q40 . ?u rdf:type ontology:Q1914636 }
Austria
action filter_type
action find_reverse
entity Austria
relation participant
type activity
[{'concept': 'activity'}, 'participant', 'Austria']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:Austria . ?u rdf:type ontology:activity }
[]
activity
Q1023355
SYSTEM
CEPHEUS
Q1023355
(c(Q1914636),P710,Q40)
action filter_type
action find_reverse
entity Q40
relation P710
type Q1914636
Austria was the [ANSWER]
[{'concept': 'Q1914636'}, 'P710', 'Q40']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q40 . ?u rdf:type ontology:Q1914636 }
CEPHEUS
Austria was the CEPHEUS
CEPHEUS
action filter_type
action find_reverse
entity Austria
relation participant
type activity
[{'concept': 'activity'}, 'participant', 'Austria']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:Austria . ?u rdf:type ontology:activity }
[]