Simple Question (Direct)
Simple Question
Q19285119
P937
Q486972
USER
What is the location where Heinrich Anton Rudolph Brandis worked ?
(Q19285119,P937,c(Q486972))
action filter_type
action find
entity Q19285119
relation P937
type Q486972
['Q19285119', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q19285119 property:P937 ?k . ?k rdf:type ontology:Q486972 }
Heinrich Anton Rudolph Brandis
action filter_type
action find
entity Heinrich Anton Rudolph Brandis
relation work location
type human settlement
['Heinrich Anton Rudolph Brandis', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Heinrich_Anton_Rudolph_Brandis property:work_location ?k . ?k rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q19285119,P937,c(Q486972))
action filter_type
action find
entity Q19285119
relation P937
type Q486972
The location Heinrich Anton Rudolph Brandis worked is in [ANSWER]
['Q19285119', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q19285119 property:P937 ?k . ?k rdf:type ontology:Q486972 }
Hamburg
The location Heinrich Anton Rudolph Brandis worked is in Hamburg
Hamburg
action filter_type
action find
entity Heinrich Anton Rudolph Brandis
relation work location
type human settlement
['Heinrich Anton Rudolph Brandis', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Heinrich_Anton_Rudolph_Brandis property:work_location ?k . ?k rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19285119
P20
Q486972
USER
Which human settlement is the place of death of that person ?
(Q1055,P20,c(Q486972))
action filter_type
action find
entity Q19285119
relation P20
type Q486972
['Q1055', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q486972 . resource:Q19285119 property:P20 ?y }
Heinrich Anton Rudolph Brandis
action filter_type
action find
entity Heinrich Anton Rudolph Brandis
relation place of death
type human settlement
['Hamburg', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:human_settlement . resource:Heinrich_Anton_Rudolph_Brandis property:place_of_death ?y }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1055,P20,c(Q486972))
action filter_type
action find
entity Q19285119
relation P20
type Q486972
[ANSWER] is the place of death of that person
['Q1055', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q486972 . resource:Q19285119 property:P20 ?y }
Hamburg
Hamburg is the place of death of that person
Hamburg
action filter_type
action find
entity Heinrich Anton Rudolph Brandis
relation place of death
type human settlement
['Hamburg', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:human_settlement . resource:Heinrich_Anton_Rudolph_Brandis property:place_of_death ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19285119
P106
Q28640
USER
What is the profession of Heinrich Anton Rudolph Brandis ?
(Q19285119,P106,c(Q28640))
action filter_type
action find
entity Q19285119
relation P106
type Q28640
['Q19285119', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q19285119 property:P106 ?c . ?c rdf:type ontology:Q28640 }
Heinrich Anton Rudolph Brandis
action filter_type
action find
entity Heinrich Anton Rudolph Brandis
relation occupation
type profession
['Heinrich Anton Rudolph Brandis', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:Heinrich_Anton_Rudolph_Brandis property:occupation ?c . ?c rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q19285119,P106,c(Q28640))
action filter_type
action find
entity Q19285119
relation P106
type Q28640
The profession of Heinrich Anton Rudolph Brandis is a [ANSWER]
['Q19285119', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q19285119 property:P106 ?c . ?c rdf:type ontology:Q28640 }
lawyer
The profession of Heinrich Anton Rudolph Brandis is a lawyer
lawyer
action filter_type
action find
entity Heinrich Anton Rudolph Brandis
relation occupation
type profession
['Heinrich Anton Rudolph Brandis', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:Heinrich_Anton_Rudolph_Brandis property:occupation ?c . ?c rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19285119
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q40348,P39,c(Q12737077))
action filter_type
action find
entity Q19285119
relation P39
type Q12737077
['Q40348', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q19285119 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
Heinrich Anton Rudolph Brandis
action filter_type
action find
entity Heinrich Anton Rudolph Brandis
relation position held
type occupation
['lawyer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Heinrich_Anton_Rudolph_Brandis property:position_held ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q19360355
SYSTEM
Member of the Hamburg Parliament
Q19360355
(Q40348,P39,c(Q12737077))
action filter_type
action find
entity Q19285119
relation P39
type Q12737077
[ANSWER] was a position for which that person was appointed
['Q40348', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q19285119 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
Member of the Hamburg Parliament
Member of the Hamburg Parliament was a position for which that person was appointed
Member of the Hamburg Parliament
action filter_type
action find
entity Heinrich Anton Rudolph Brandis
relation position held
type occupation
['lawyer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Heinrich_Anton_Rudolph_Brandis property:position_held ?r . ?r rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q19360355 Q6867972
P361
Q1752346
USER
Is that occupation a component of Minneapolis City Council ?
(Q19360355,P361,Q6867972)
action is_in
entity Q6867972
action find
entity Q19360355
relation P361
['Q19360355', 'P361', 'Q6867972']
ASK WHERE { resource:Q19360355 property:P361 resource:Q6867972 }
Member of the Hamburg Parliament Minneapolis City Council
action is_in
entity Minneapolis City Council
action find
entity Member of the Hamburg Parliament
relation part of
['Member of the Hamburg Parliament', 'part of', 'Minneapolis City Council']
ASK WHERE { resource:Member_of_the_Hamburg_Parliament property:part_of resource:Minneapolis_City_Council }
[]
assembly
SYSTEM
NO
(Q19360355,P361,Q6867972)
action is_in
entity Q6867972
action find
entity Q19360355
relation P361
[ANSWER]
['Q19360355', 'P361', 'Q6867972']
ASK WHERE { resource:Q19360355 property:P361 resource:Q6867972 }
No
action is_in
entity Minneapolis City Council
action find
entity Member of the Hamburg Parliament
relation part of
['Member of the Hamburg Parliament', 'part of', 'Minneapolis City Council']
ASK WHERE { resource:Member_of_the_Hamburg_Parliament property:part_of resource:Minneapolis_City_Council }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1244726
P138
Q502895
USER
How many people are Wolfson College named after ?
(Q1244726,P138,c(Q502895))
action count
action filter_type
action find
entity Q1244726
relation P138
type Q502895
['Q1244726', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q1244726 property:P138 ?b . ?b rdf:type ontology:Q502895 }
Wolfson College
action count
action filter_type
action find
entity Wolfson College
relation named after
type common name
['Wolfson College', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Wolfson_College property:named_after ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q2907221
(Q1244726,P138,c(Q502895))
action count
action filter_type
action find
entity Q1244726
relation P138
type Q502895
[ANSWER]
['Q1244726', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Q1244726 property:P138 ?b . ?b rdf:type ontology:Q502895 }
Isaac Wolfson
1
action count
action filter_type
action find
entity Wolfson College
relation named after
type common name
['Wolfson College', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { resource:Wolfson_College property:named_after ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1055
P6
Q502895
USER
Which people have Hamburg as their heads of government ?
(Q1055,P6,c(Q502895))
action filter_type
action find
entity Q1055
relation P6
type Q502895
['Q1055', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q1055 property:P6 ?y }
Hamburg
action filter_type
action find
entity Hamburg
relation head of government
type common name
['Hamburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Hamburg property:head_of_government ?y }
[]
common name
Q61053 Q62673 Q447940
SYSTEM
Olaf Scholz, Klaus von Dohnanyi, Hans-Ulrich Klose
Q63421 Q84380 Q77390 Q447940 Q71371 Q62673 Q60426 Q85910 Q61053 Q68114 Q87670 Q74266 Q70051 Q85791
(Q1055,P6,c(Q502895))
action filter_type
action find
entity Q1055
relation P6
type Q502895
[ANSWERS] have Hamburg as their heads of government
['Q1055', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q1055 property:P6 ?y }
Max Brauer Kurt Sieveking Christoph Ahlhaus Hans-Ulrich Klose Henning Voscherau Klaus von Dohnanyi Ole von Beust Paul Nevermann Olaf Scholz Herbert Weichmann Rudolf Petersen Carl Vincent Krogmann Ortwin Runde Peter Schulz
Olaf Scholz, Klaus von Dohnanyi and Hans-Ulrich Klose have Hamburg as their heads of government
Olaf Scholz Klaus von Dohnanyi Hans-Ulrich Klose
action filter_type
action find
entity Hamburg
relation head of government
type common name
['Hamburg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Hamburg property:head_of_government ?y }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2471770
P6
Q486972
USER
Do Empire have those people as their administrative leader ?
(Q2471770,P6,Q61053) (Q2471770,P6,Q62673) (Q2471770,P6,Q447940)
action is_in
entity prev_answer
action find
entity Q2471770
relation P6
['Q2471770', 'P6', 'Q61053'] ['Q2471770', 'P6', 'Q62673'] ['Q2471770', 'P6', 'Q447940']
ASK WHERE { VALUES ( ?o ) { ( resource:Q63421 ) ( resource:Q84380 ) ( resource:Q77390 ) } . resource:Q2471770 property:P6 ?o }
Empire
action is_in
entity prev_answer
action find
entity Empire
relation head of government
['Empire', 'head of government', 'Olaf Scholz'] ['Empire', 'head of government', 'Klaus von Dohnanyi'] ['Empire', 'head of government', 'Hans-Ulrich Klose']
ASK WHERE { VALUES ( ?o ) { ( resource:Max_Brauer ) ( resource:Kurt_Sieveking ) ( resource:Christoph_Ahlhaus ) } . resource:Empire property:head_of_government ?o }
[]
human settlement
SYSTEM
NO
(Q2471770,P6,Q61053) (Q2471770,P6,Q62673) (Q2471770,P6,Q447940)
action is_in
entity prev_answer
action find
entity Q2471770
relation P6
[ANSWER]
['Q2471770', 'P6', 'Q61053'] ['Q2471770', 'P6', 'Q62673'] ['Q2471770', 'P6', 'Q447940']
ASK WHERE { VALUES ( ?o ) { ( resource:Q63421 ) ( resource:Q84380 ) ( resource:Q77390 ) } . resource:Q2471770 property:P6 ?o }
No
action is_in
entity prev_answer
action find
entity Empire
relation head of government
['Empire', 'head of government', 'Olaf Scholz'] ['Empire', 'head of government', 'Klaus von Dohnanyi'] ['Empire', 'head of government', 'Hans-Ulrich Klose']
ASK WHERE { VALUES ( ?o ) { ( resource:Max_Brauer ) ( resource:Kurt_Sieveking ) ( resource:Christoph_Ahlhaus ) } . resource:Empire property:head_of_government ?o }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q61053 Q12670405 Q5709348
P937
Q56061
USER
Does Olaf Scholz work at Puntuzai and Mafi Kandi ?
(Q61053,P937,Q12670405) (Q61053,P937,Q5709348)
action is_in
entity Q61053
action intersection
action find_reverse
entity Q12670405
relation P937
action find_reverse
entity Q5709348
relation P937
['Q61053', 'P937', 'Q12670405'] ['Q61053', 'P937', 'Q5709348']
ASK WHERE { resource:Q61053 property:P937 resource:Q12670405 . resource:Q61053 property:P937 resource:Q5709348 }
Olaf Scholz Puntuzai Mafi Kandi
action is_in
entity Olaf Scholz
action intersection
action find_reverse
entity Puntuzai
relation work location
action find_reverse
entity Mafi Kandi
relation work location
['Olaf Scholz', 'work location', 'Puntuzai'] ['Olaf Scholz', 'work location', 'Mafi Kandi']
ASK WHERE { resource:Olaf_Scholz property:work_location resource:Puntuzai . resource:Olaf_Scholz property:work_location resource:Mafi_Kandi }
[]
administrative territorial entity
SYSTEM
NO
(Q61053,P937,Q12670405) (Q61053,P937,Q5709348)
action is_in
entity Q61053
action intersection
action find_reverse
entity Q12670405
relation P937
action find_reverse
entity Q5709348
relation P937
[ANSWER]
['Q61053', 'P937', 'Q12670405'] ['Q61053', 'P937', 'Q5709348']
ASK WHERE { resource:Q61053 property:P937 resource:Q12670405 . resource:Q61053 property:P937 resource:Q5709348 }
No
action is_in
entity Olaf Scholz
action intersection
action find_reverse
entity Puntuzai
relation work location
action find_reverse
entity Mafi Kandi
relation work location
['Olaf Scholz', 'work location', 'Puntuzai'] ['Olaf Scholz', 'work location', 'Mafi Kandi']
ASK WHERE { resource:Olaf_Scholz property:work_location resource:Puntuzai . resource:Olaf_Scholz property:work_location resource:Mafi_Kandi }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1538017 Q2471770
P27 P17
Q15617994
USER
Which administrative territories are Empire a part of or are the native countriesof Gordon Goodwin ?
OR((Q2471770,P17,c(Q15617994)), (Q1538017,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2471770
relation P17
action find
entity Q1538017
relation P27
type Q15617994
{'OR': [['Q2471770', 'P17', {'concept': 'Q15617994'}], ['Q1538017', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q2471770 property:P17 ?s } UNION { resource:Q1538017 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Gordon Goodwin Empire
action filter_type
action union
action find
entity Empire
relation country
action find
entity Gordon Goodwin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Empire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gordon Goodwin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Empire property:country ?s } UNION { resource:Gordon_Goodwin property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q2471770,P17,c(Q15617994)), (Q1538017,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2471770
relation P17
action find
entity Q1538017
relation P27
type Q15617994
[ANSWER] is Empire a part of or is the native countriesof Gordon Goodwin
{'OR': [['Q2471770', 'P17', {'concept': 'Q15617994'}], ['Q1538017', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q2471770 property:P17 ?s } UNION { resource:Q1538017 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
United States of America
United States of America is Empire a part of or is the native countriesof Gordon Goodwin
United States of America
action filter_type
action union
action find
entity Empire
relation country
action find
entity Gordon Goodwin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Empire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gordon Goodwin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Empire property:country ?s } UNION { resource:Gordon_Goodwin property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q23902960 Q5285706
P6
Q502895
USER
Does that administrative territory have its government headed by Abdelaziz Al Blooshi and Dmitry Debelka ?
(Q30,P6,Q23902960) (Q30,P6,Q5285706)
action is_in
entity Q30
action intersection
action find_reverse
entity Q23902960
relation P6
action find_reverse
entity Q5285706
relation P6
['Q30', 'P6', 'Q23902960'] ['Q30', 'P6', 'Q5285706']
ASK WHERE { resource:Q30 property:P6 resource:Q23902960 . resource:Q30 property:P6 resource:Q5285706 }
United States of America Abdelaziz Al Blooshi Dmitry Debelka
action is_in
entity United States of America
action intersection
action find_reverse
entity Abdelaziz Al Blooshi
relation head of government
action find_reverse
entity Dmitry Debelka
relation head of government
['United States of America', 'head of government', 'Abdelaziz Al Blooshi'] ['United States of America', 'head of government', 'Dmitry Debelka']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Abdelaziz_Al_Blooshi . resource:United_States_of_America property:head_of_government resource:Dmitry_Debelka }
[]
common name
SYSTEM
NO
(Q30,P6,Q23902960) (Q30,P6,Q5285706)
action is_in
entity Q30
action intersection
action find_reverse
entity Q23902960
relation P6
action find_reverse
entity Q5285706
relation P6
[ANSWER]
['Q30', 'P6', 'Q23902960'] ['Q30', 'P6', 'Q5285706']
ASK WHERE { resource:Q30 property:P6 resource:Q23902960 . resource:Q30 property:P6 resource:Q5285706 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Abdelaziz Al Blooshi
relation head of government
action find_reverse
entity Dmitry Debelka
relation head of government
['United States of America', 'head of government', 'Abdelaziz Al Blooshi'] ['United States of America', 'head of government', 'Dmitry Debelka']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Abdelaziz_Al_Blooshi . resource:United_States_of_America property:head_of_government resource:Dmitry_Debelka }
[]