Simple Question (Direct)
Simple Question
Q1225106
P241
Q781132
USER
Which military branches are Raphael Semmes associated with ?
(Q1225106,P241,c(Q781132))
action filter_type
action find
entity Q1225106
relation P241
type Q781132
['Q1225106', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?i WHERE { resource:Q1225106 property:P241 ?i . ?i rdf:type ontology:Q781132 }
Raphael Semmes
action filter_type
action find
entity Raphael Semmes
relation military branch
type military branch
['Raphael Semmes', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?i WHERE { resource:Raphael_Semmes property:military_branch ?i . ?i rdf:type ontology:military_branch }
[]
military branch
Q11220 Q1125021
SYSTEM
United States Navy, Confederate States Army
Q11220 Q1125021
(Q1225106,P241,c(Q781132))
action filter_type
action find
entity Q1225106
relation P241
type Q781132
Raphael Semmes are associated with [ANSWERS]
['Q1225106', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?i WHERE { resource:Q1225106 property:P241 ?i . ?i rdf:type ontology:Q781132 }
United States Navy Confederate States Army
Raphael Semmes are associated with United States Navy and Confederate States Army
United States Navy Confederate States Army
action filter_type
action find
entity Raphael Semmes
relation military branch
type military branch
['Raphael Semmes', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?i WHERE { resource:Raphael_Semmes property:military_branch ?i . ?i rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1225106
P106
Q12737077
USER
Which occupations are the professions of Raphael Semmes ?
(Q1225106,P106,c(Q12737077))
action filter_type
action find
entity Q1225106
relation P106
type Q12737077
['Q1225106', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1225106 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Raphael Semmes
action filter_type
action find
entity Raphael Semmes
relation occupation
type occupation
['Raphael Semmes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Raphael_Semmes property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q16533 Q189290
SYSTEM
judge, officer
Q16533 Q189290
(Q1225106,P106,c(Q12737077))
action filter_type
action find
entity Q1225106
relation P106
type Q12737077
The professions of Raphael Semmes are a [ANSWERS]
['Q1225106', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1225106 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
judge officer
The professions of Raphael Semmes are a judge and officer
judge officer
action filter_type
action find
entity Raphael Semmes
relation occupation
type occupation
['Raphael Semmes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Raphael_Semmes property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16533 Q189290
P39
Q502895
USER
Which people were responsible for occupying the position of judge and officer ?
(c(Q502895),P39,Q16533) (c(Q502895),P39,Q189290)
action union
action filter_type
action find_reverse
entity Q16533
relation P39
type Q502895
action filter_type
action find_reverse
entity Q189290
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q189290']
SELECT DISTINCT ?t WHERE { { ?t property:P39 resource:Q189290 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P39 resource:Q16533 . ?t rdf:type ontology:Q502895 } }
judge officer
action union
action filter_type
action find_reverse
entity judge
relation position held
type common name
action filter_type
action find_reverse
entity officer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'officer']
SELECT DISTINCT ?t WHERE { { ?t property:position_held resource:officer . ?t rdf:type ontology:common_name } UNION { ?t property:position_held resource:judge . ?t rdf:type ontology:common_name } }
[]
common name
Q2563 Q239235 Q562982
SYSTEM
Roman Herzog, Louise Arbour, Charles de Cossé, Count of Brissac
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 Q562982 Q7527206
(c(Q502895),P39,Q16533) (c(Q502895),P39,Q189290)
action union
action filter_type
action find_reverse
entity Q16533
relation P39
type Q502895
action filter_type
action find_reverse
entity Q189290
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q189290']
SELECT DISTINCT ?t WHERE { { ?t property:P39 resource:Q189290 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P39 resource:Q16533 . ?t rdf:type ontology:Q502895 } }
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 Charles de Cossé, Count of Brissac Sir Henry Puckering, 3rd Baronet
Roman Herzog, Louise Arbour and Charles de Cossé, Count of Brissac were responsible for occupying the position of judge and officer
Roman Herzog Louise Arbour Charles de Cossé, Count of Brissac
action union
action filter_type
action find_reverse
entity judge
relation position held
type common name
action filter_type
action find_reverse
entity officer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'officer']
SELECT DISTINCT ?t WHERE { { ?t property:position_held resource:officer . ?t rdf:type ontology:common_name } UNION { ?t property:position_held resource:judge . ?t rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2563 Q239235 Q562982
P39
Q12737077
USER
Which occupations were the positions for which those people were appointed ?
(Q2563,P39,c(Q12737077)) (Q239235,P39,c(Q12737077)) (Q562982,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
['Q2563', 'P39', {'concept': 'Q12737077'}] ['Q239235', 'P39', {'concept': 'Q12737077'}] ['Q562982', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?o ) { ( resource:Q20729887 ) ( resource:Q2838761 ) ( resource:Q26309250 ) } . ?o property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Roman Herzog Louise Arbour Charles de Cossé, Count of Brissac
action filter_type
action find
entity prev_answer
relation position held
type occupation
['Roman Herzog', 'position held', {'concept': 'occupation'}] ['Louise Arbour', 'position held', {'concept': 'occupation'}] ['Charles de Cossé, Count of Brissac', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?o ) { ( resource:Pierre-Joseph_Cavallier ) ( resource:Allyre_Sirois ) ( resource:Matthias_Manthei ) } . ?o property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q25223 Q17481175 Q16533
SYSTEM
President of Germany, Member of the Landtag of Baden-Württemberg, judge
Q16533 Q25223 Q17481175 Q16533 Q20727983 Q20670163 Q189290
(Q2563,P39,c(Q12737077)) (Q239235,P39,c(Q12737077)) (Q562982,P39,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P39
type Q12737077
[ANSWERS] were the positions for which those people were appointed
['Q2563', 'P39', {'concept': 'Q12737077'}] ['Q239235', 'P39', {'concept': 'Q12737077'}] ['Q562982', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?o ) { ( resource:Q20729887 ) ( resource:Q2838761 ) ( resource:Q26309250 ) } . ?o property:P39 ?i . ?i rdf:type ontology:Q12737077 }
judge President of Germany Member of the Landtag of Baden-Württemberg judge United Nations High Commissioner for Human Rights ICDB commissioner officer
President of Germany, Member of the Landtag of Baden-Württemberg and judge were the positions for which those people were appointed
President of Germany Member of the Landtag of Baden-Württemberg judge
action filter_type
action find
entity prev_answer
relation position held
type occupation
['Roman Herzog', 'position held', {'concept': 'occupation'}] ['Louise Arbour', 'position held', {'concept': 'occupation'}] ['Charles de Cossé, Count of Brissac', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?o ) { ( resource:Pierre-Joseph_Cavallier ) ( resource:Allyre_Sirois ) ( resource:Matthias_Manthei ) } . ?o property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2563
P166
Q618779
USER
What were won by that person ?
(Q2563,P166,c(Q618779))
action filter_type
action find
entity Q2563
relation P166
type Q618779
['Q2563', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q618779 . resource:Q2563 property:P166 ?u }
Roman Herzog
action filter_type
action find
entity Roman Herzog
relation award received
type award
['Roman Herzog', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:award . resource:Roman_Herzog property:award_received ?u }
[]
award
Clarification for simple ques.
Q2563
SYSTEM
Did you mean Roman Herzog ?
Q25223 Q17481175 Q16533
(Q25223,P166,c(Q618779)) (Q17481175,P166,c(Q618779)) (Q16533,P166,c(Q618779))
[ANSWER]
['Q25223', 'P166', {'concept': 'Q618779'}] ['Q17481175', 'P166', {'concept': 'Q618779'}] ['Q16533', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q618779 . resource:Q2563 property:P166 ?u }
President of Germany Member of the Landtag of Baden-Württemberg judge
Did you mean Roman Herzog ?
Roman Herzog
['President of Germany', 'award received', {'concept': 'award'}] ['Member of the Landtag of Baden-Württemberg', 'award received', {'concept': 'award'}] ['judge', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:award . resource:Roman_Herzog property:award_received ?u }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2563,P166,c(Q618779))
['Q2563', 'P166', {'concept': 'Q618779'}]
['Roman Herzog', 'award received', {'concept': 'award'}]
[]
Q1818440 Q445673 Q152337
SYSTEM
German Leo Baeck Award, Order of Merit of Baden-Württemberg, Charlemagne Prize
Q1818440 Q445673 Q152337
(Q2563,P166,c(Q618779))
action filter_type
action find
entity Q2563
relation P166
type Q618779
[ANSWERS] were won by that person
['Q2563', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q618779 . resource:Q2563 property:P166 ?u }
German Leo Baeck Award Order of Merit of Baden-Württemberg Charlemagne Prize
German Leo Baeck Award, Order of Merit of Baden-Württemberg and Charlemagne Prize were won by that person
German Leo Baeck Award Order of Merit of Baden-Württemberg Charlemagne Prize
action filter_type
action find
entity Roman Herzog
relation award received
type award
['Roman Herzog', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:award . resource:Roman_Herzog property:award_received ?u }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12784790
P166
Q502895
USER
Were Anton Erjavec honoured with those awards ?
(Q12784790,P166,Q1818440) (Q12784790,P166,Q445673) (Q12784790,P166,Q152337)
action is_in
entity prev_answer
action find
entity Q12784790
relation P166
['Q12784790', 'P166', 'Q1818440'] ['Q12784790', 'P166', 'Q445673'] ['Q12784790', 'P166', 'Q152337']
ASK WHERE { resource:Q12784790 property:P166 ?d . VALUES ( ?d ) { ( resource:Q1818440 ) ( resource:Q445673 ) ( resource:Q152337 ) } }
Anton Erjavec
action is_in
entity prev_answer
action find
entity Anton Erjavec
relation award received
['Anton Erjavec', 'award received', 'German Leo Baeck Award'] ['Anton Erjavec', 'award received', 'Order of Merit of Baden-Württemberg'] ['Anton Erjavec', 'award received', 'Charlemagne Prize']
ASK WHERE { resource:Anton_Erjavec property:award_received ?d . VALUES ( ?d ) { ( resource:German_Leo_Baeck_Award ) ( resource:Order_of_Merit_of_Baden-Württemberg ) ( resource:Charlemagne_Prize ) } }
[]
common name
SYSTEM
NO
(Q12784790,P166,Q1818440) (Q12784790,P166,Q445673) (Q12784790,P166,Q152337)
action is_in
entity prev_answer
action find
entity Q12784790
relation P166
[ANSWER]
['Q12784790', 'P166', 'Q1818440'] ['Q12784790', 'P166', 'Q445673'] ['Q12784790', 'P166', 'Q152337']
ASK WHERE { resource:Q12784790 property:P166 ?d . VALUES ( ?d ) { ( resource:Q1818440 ) ( resource:Q445673 ) ( resource:Q152337 ) } }
No
action is_in
entity prev_answer
action find
entity Anton Erjavec
relation award received
['Anton Erjavec', 'award received', 'German Leo Baeck Award'] ['Anton Erjavec', 'award received', 'Order of Merit of Baden-Württemberg'] ['Anton Erjavec', 'award received', 'Charlemagne Prize']
ASK WHERE { resource:Anton_Erjavec property:award_received ?d . VALUES ( ?d ) { ( resource:German_Leo_Baeck_Award ) ( resource:Order_of_Merit_of_Baden-Württemberg ) ( resource:Charlemagne_Prize ) } }
[]