Simple Question (Direct)
Simple Question
Q6830253
P106
Q12737077
USER
What do Michael Felix Hackett do for a living ?
(Q6830253,P106,c(Q12737077))
action filter_type
action find
entity Q6830253
relation P106
type Q12737077
['Q6830253', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q6830253 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Michael Felix Hackett
action filter_type
action find
entity Michael Felix Hackett
relation occupation
type occupation
['Michael Felix Hackett', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Michael_Felix_Hackett property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q16533 Q82955
SYSTEM
judge, politician
Q16533 Q82955
(Q6830253,P106,c(Q12737077))
action filter_type
action find
entity Q6830253
relation P106
type Q12737077
[ANSWERS] Michael Felix Hackett do for a living
['Q6830253', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q6830253 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
judge politician
Judge and politician Michael Felix Hackett do for a living
judge politician
action filter_type
action find
entity Michael Felix Hackett
relation occupation
type occupation
['Michael Felix Hackett', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Michael_Felix_Hackett property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16533 Q82955
P39
Q502895
USER
Who were responsible for occupying the position of judge and politician ?
(c(Q502895),P39,Q16533) (c(Q502895),P39,Q82955)
action union
action filter_type
action find_reverse
entity Q16533
relation P39
type Q502895
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?t WHERE { ?t property:P39 ?h . VALUES ( ?h ) { ( resource:Q16533 ) ( resource:Q82955 ) } }
judge politician
action union
action filter_type
action find_reverse
entity judge
relation position held
type common name
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?t WHERE { ?t property:position_held ?h . VALUES ( ?h ) { ( resource:judge ) ( resource:politician ) } }
[]
common name
Q2563 Q239235 Q1716914
SYSTEM
Roman Herzog, Louise Arbour, Karl Korinek
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,Q16533) (c(Q502895),P39,Q82955)
action union
action filter_type
action find_reverse
entity Q16533
relation P39
type Q502895
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of judge and politician
[{'concept': 'Q502895'}, 'P39', 'Q16533'] [{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?t WHERE { ?t property:P39 ?h . VALUES ( ?h ) { ( resource:Q16533 ) ( resource:Q82955 ) } }
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 responsible for occupying the position of judge and politician
Roman Herzog Louise Arbour Karl Korinek
action union
action filter_type
action find_reverse
entity judge
relation position held
type common name
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge'] [{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?t WHERE { ?t property:position_held ?h . VALUES ( ?h ) { ( resource:judge ) ( resource:politician ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2563 Q239235 Q1716914
P39
Q12737077
USER
What were the positions held by Roman Herzog, Louise Arbour and Karl Korinek ?
(Q2563,P39,c(Q12737077)) (Q239235,P39,c(Q12737077)) (Q1716914,P39,c(Q12737077))
action union
action filter_type
action find
entity Q2563
relation P39
type Q12737077
action filter_type
action find
entity Q239235
relation P39
type Q12737077
action filter_type
action find
entity Q1716914
relation P39
type Q12737077
['Q2563', 'P39', {'concept': 'Q12737077'}] ['Q239235', 'P39', {'concept': 'Q12737077'}] ['Q1716914', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Q239235 ) ( resource:Q2563 ) } . ?k property:P39 ?y }
Roman Herzog Louise Arbour Karl Korinek
action union
action filter_type
action find
entity Roman Herzog
relation position held
type occupation
action filter_type
action find
entity Louise Arbour
relation position held
type occupation
action filter_type
action find
entity Karl Korinek
relation position held
type occupation
['Roman Herzog', 'position held', {'concept': 'occupation'}] ['Louise Arbour', 'position held', {'concept': 'occupation'}] ['Karl Korinek', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Louise_Arbour ) ( resource:Roman_Herzog ) } . ?k property:position_held ?y }
[]
occupation
Q25223 Q17481175 Q16533
SYSTEM
President of Germany, Member of the Landtag of Baden-Württemberg, judge
Q16533 Q25223 Q17481175 Q16533 Q20727983 Q20670163 Q16533
(Q2563,P39,c(Q12737077)) (Q239235,P39,c(Q12737077)) (Q1716914,P39,c(Q12737077))
action union
action filter_type
action find
entity Q2563
relation P39
type Q12737077
action filter_type
action find
entity Q239235
relation P39
type Q12737077
action filter_type
action find
entity Q1716914
relation P39
type Q12737077
The positions held by Roman Herzog , Louise Arbour and Karl Korinek were the [ANSWERS]
['Q2563', 'P39', {'concept': 'Q12737077'}] ['Q239235', 'P39', {'concept': 'Q12737077'}] ['Q1716914', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Q239235 ) ( resource:Q2563 ) } . ?k property:P39 ?y }
judge President of Germany Member of the Landtag of Baden-Württemberg judge United Nations High Commissioner for Human Rights ICDB commissioner judge
The positions held by Roman Herzog , Louise Arbour and Karl Korinek were the President of Germany, Member of the Landtag of Baden-Württemberg and judge
President of Germany Member of the Landtag of Baden-Württemberg judge
action union
action filter_type
action find
entity Roman Herzog
relation position held
type occupation
action filter_type
action find
entity Louise Arbour
relation position held
type occupation
action filter_type
action find
entity Karl Korinek
relation position held
type occupation
['Roman Herzog', 'position held', {'concept': 'occupation'}] ['Louise Arbour', 'position held', {'concept': 'occupation'}] ['Karl Korinek', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Louise_Arbour ) ( resource:Roman_Herzog ) } . ?k property:position_held ?y }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17481175
P361
Q1752346
USER
What is that occupation a component of ?
(Q17481175,P361,c(Q1752346))
action filter_type
action find
entity Q17481175
relation P361
type Q1752346
['Q17481175', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { resource:Q17481175 property:P361 ?c . ?c rdf:type ontology:Q1752346 }
Member of the Landtag of Baden-Württemberg
action filter_type
action find
entity Member of the Landtag of Baden-Württemberg
relation part of
type assembly
['Member of the Landtag of Baden-Württemberg', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { resource:Member_of_the_Landtag_of_Baden-Württemberg property:part_of ?c . ?c rdf:type ontology:assembly }
[]
assembly
Clarification for simple ques.
Q16533
SYSTEM
Did you mean judge ?
Q25223 Q17481175 Q16533
(Q25223,P361,c(Q1752346)) (Q17481175,P361,c(Q1752346)) (Q16533,P361,c(Q1752346))
[ANSWER]
['Q25223', 'P361', {'concept': 'Q1752346'}] ['Q17481175', 'P361', {'concept': 'Q1752346'}] ['Q16533', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { resource:Q17481175 property:P361 ?c . ?c rdf:type ontology:Q1752346 }
President of Germany Member of the Landtag of Baden-Württemberg judge
Did you mean judge ?
judge
['President of Germany', 'part of', {'concept': 'assembly'}] ['Member of the Landtag of Baden-Württemberg', 'part of', {'concept': 'assembly'}] ['judge', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { resource:Member_of_the_Landtag_of_Baden-Württemberg property:part_of ?c . ?c rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
USER
No, I meant Member of the Landtag of Baden-Württemberg. Could you tell me the answer for that?
(Q17481175,P361,c(Q1752346))
Q17481175
['Q17481175', 'P361', {'concept': 'Q1752346'}]
['Member of the Landtag of Baden-Württemberg', 'part of', {'concept': 'assembly'}]
[]
Q455697
SYSTEM
Landtag of Baden-Württemberg
Q455697
(Q17481175,P361,c(Q1752346))
action filter_type
action find
entity Q17481175
relation P361
type Q1752346
That occupation a component of is the [ANSWER]
['Q17481175', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { resource:Q17481175 property:P361 ?c . ?c rdf:type ontology:Q1752346 }
Landtag of Baden-Württemberg
That occupation a component of is the Landtag of Baden-Württemberg
Landtag of Baden-Württemberg
action filter_type
action find
entity Member of the Landtag of Baden-Württemberg
relation part of
type assembly
['Member of the Landtag of Baden-Württemberg', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { resource:Member_of_the_Landtag_of_Baden-Württemberg property:part_of ?c . ?c rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q455697 Q183 Q4378177
P17
Q1048835
USER
Is Landtag of Baden-Württemberg present in Germany and Prydorozhnie ?
(Q455697,P17,Q183) (Q455697,P17,Q4378177)
action is_in
entity Q455697
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q4378177
relation P17
['Q455697', 'P17', 'Q183'] ['Q455697', 'P17', 'Q4378177']
ASK WHERE { resource:Q455697 property:P17 resource:Q183 . resource:Q455697 property:P17 resource:Q4378177 }
Landtag of Baden-Württemberg Germany Prydorozhnie
action is_in
entity Landtag of Baden-Württemberg
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Prydorozhnie
relation country
['Landtag of Baden-Württemberg', 'country', 'Germany'] ['Landtag of Baden-Württemberg', 'country', 'Prydorozhnie']
ASK WHERE { resource:Landtag_of_Baden-Württemberg property:country resource:Germany . resource:Landtag_of_Baden-Württemberg property:country resource:Prydorozhnie }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q455697,P17,Q183) (Q455697,P17,Q4378177)
action is_in
entity Q455697
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q4378177
relation P17
[ANSWER]
['Q455697', 'P17', 'Q183'] ['Q455697', 'P17', 'Q4378177']
ASK WHERE { resource:Q455697 property:P17 resource:Q183 . resource:Q455697 property:P17 resource:Q4378177 }
YES and NO respectively
action is_in
entity Landtag of Baden-Württemberg
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Prydorozhnie
relation country
['Landtag of Baden-Württemberg', 'country', 'Germany'] ['Landtag of Baden-Württemberg', 'country', 'Prydorozhnie']
ASK WHERE { resource:Landtag_of_Baden-Württemberg property:country resource:Germany . resource:Landtag_of_Baden-Württemberg property:country resource:Prydorozhnie }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17481175 Q183
P17
Q1048835
USER
Is Member of the Landtag of Baden-Württemberg located in Germany ?
(Q17481175,P17,Q183)
action is_in
entity Q183
action find
entity Q17481175
relation P17
['Q17481175', 'P17', 'Q183']
ASK WHERE { resource:Q17481175 property:P17 resource:Q183 }
Member of the Landtag of Baden-Württemberg Germany
action is_in
entity Germany
action find
entity Member of the Landtag of Baden-Württemberg
relation country
['Member of the Landtag of Baden-Württemberg', 'country', 'Germany']
ASK WHERE { resource:Member_of_the_Landtag_of_Baden-Württemberg property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q17481175,P17,Q183)
action is_in
entity Q183
action find
entity Q17481175
relation P17
[ANSWER]
['Q17481175', 'P17', 'Q183']
ASK WHERE { resource:Q17481175 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Member of the Landtag of Baden-Württemberg
relation country
['Member of the Landtag of Baden-Württemberg', 'country', 'Germany']
ASK WHERE { resource:Member_of_the_Landtag_of_Baden-Württemberg property:country resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2563
P26
Q502895
USER
Which person is married to Roman Herzog ?
(Q2563,P26,c(Q502895))
action filter_type
action find
entity Q2563
relation P26
type Q502895
['Q2563', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2563 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Roman Herzog
action filter_type
action find
entity Roman Herzog
relation spouse
type common name
['Roman Herzog', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Roman_Herzog property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q96061
SYSTEM
Christiane Herzog
Q96061
(Q2563,P26,c(Q502895))
action filter_type
action find
entity Q2563
relation P26
type Q502895
The [ANSWER] is married to Roman Herzog
['Q2563', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2563 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Christiane Herzog
The Christiane Herzog is married to Roman Herzog
Christiane Herzog
action filter_type
action find
entity Roman Herzog
relation spouse
type common name
['Roman Herzog', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Roman_Herzog property:spouse ?w . ?w rdf:type ontology:common_name }
[]