Simple Question (Direct)
Simple Question
Q122637
P937
Q56061
USER
What is the location where Rudolf Doehn worked ?
(Q122637,P937,c(Q56061))
action filter_type
action find
entity Q122637
relation P937
type Q56061
['Q122637', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q122637 property:P937 ?r }
Rudolf Doehn
action filter_type
action find
entity Rudolf Doehn
relation work location
type administrative territorial entity
['Rudolf Doehn', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Rudolf_Doehn property:work_location ?r }
[]
administrative territorial entity
Q28180
SYSTEM
Jefferson City
Q28180
(Q122637,P937,c(Q56061))
action filter_type
action find
entity Q122637
relation P937
type Q56061
The location Rudolf Doehn worked is in [ANSWER]
['Q122637', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q122637 property:P937 ?r }
Jefferson City
The location Rudolf Doehn worked is in Jefferson City
Jefferson City
action filter_type
action find
entity Rudolf Doehn
relation work location
type administrative territorial entity
['Rudolf Doehn', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Rudolf_Doehn property:work_location ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q122637
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q28180,P39,c(Q12737077))
action filter_type
action find
entity Q122637
relation P39
type Q12737077
['Q28180', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q122637 property:P39 ?t }
Rudolf Doehn
action filter_type
action find
entity Rudolf Doehn
relation position held
type occupation
['Jefferson City', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Rudolf_Doehn property:position_held ?t }
[]
occupation
Q18131809
SYSTEM
Member of the Missouri House of Representatives
Q18131809
(Q28180,P39,c(Q12737077))
action filter_type
action find
entity Q122637
relation P39
type Q12737077
[ANSWER]
['Q28180', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q122637 property:P39 ?t }
Member of the Missouri House of Representatives
Member of the Missouri House of Representatives
Member of the Missouri House of Representatives
action filter_type
action find
entity Rudolf Doehn
relation position held
type occupation
['Jefferson City', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Rudolf_Doehn property:position_held ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28180
P1376
Q852446
USER
Which US administrative territory has Jefferson City has its center of administration ?
(Q28180,P1376,c(Q852446))
action filter_type
action find
entity Q28180
relation P1376
type Q852446
['Q28180', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?e WHERE { resource:Q28180 property:P1376 ?e . ?e rdf:type ontology:Q852446 }
Jefferson City
action filter_type
action find
entity Jefferson City
relation capital of
type administrative territorial entity of the United States
['Jefferson City', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?e WHERE { resource:Jefferson_City property:capital_of ?e . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1581
SYSTEM
Missouri
Q1581
(Q28180,P1376,c(Q852446))
action filter_type
action find
entity Q28180
relation P1376
type Q852446
[ANSWER] has Jefferson City has its center of administration
['Q28180', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?e WHERE { resource:Q28180 property:P1376 ?e . ?e rdf:type ontology:Q852446 }
Missouri
Missouri has Jefferson City has its center of administration
Missouri
action filter_type
action find
entity Jefferson City
relation capital of
type administrative territorial entity of the United States
['Jefferson City', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?e WHERE { resource:Jefferson_City property:capital_of ?e . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1581 Q21931923
P19
Q502895
USER
Does Tanya Chaplin have birthplace at that US administrative territory ?
(Q21931923,P19,Q1581)
action is_in
entity Q1581
action find
entity Q21931923
relation P19
['Q21931923', 'P19', 'Q1581']
ASK WHERE { resource:Q21931923 property:P19 resource:Q1581 }
Missouri Tanya Chaplin
action is_in
entity Missouri
action find
entity Tanya Chaplin
relation place of birth
['Tanya Chaplin', 'place of birth', 'Missouri']
ASK WHERE { resource:Tanya_Chaplin property:place_of_birth resource:Missouri }
[]
common name
SYSTEM
YES
(Q21931923,P19,Q1581)
action is_in
entity Q1581
action find
entity Q21931923
relation P19
[ANSWER]
['Q21931923', 'P19', 'Q1581']
ASK WHERE { resource:Q21931923 property:P19 resource:Q1581 }
Yes
action is_in
entity Missouri
action find
entity Tanya Chaplin
relation place of birth
['Tanya Chaplin', 'place of birth', 'Missouri']
ASK WHERE { resource:Tanya_Chaplin property:place_of_birth resource:Missouri }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26265817 Q122637
P20
Q515
USER
Which cities did Rudolf Doehn or Mohamed Tahar Mansouri expire ?
OR((Q122637,P20,c(Q515)), (Q26265817,P20,c(Q515)))
action filter_type
action union
action find
entity Q122637
relation P20
action find
entity Q26265817
relation P20
type Q515
{'OR': [['Q122637', 'P20', {'concept': 'Q515'}], ['Q26265817', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . { VALUES ( ?r ) { ( resource:Q122637 ) ( resource:Q26265817 ) } . ?r property:P20 ?m } }
Mohamed Tahar Mansouri Rudolf Doehn
action filter_type
action union
action find
entity Rudolf Doehn
relation place of death
action find
entity Mohamed Tahar Mansouri
relation place of death
type city
{'OR': [['Rudolf Doehn', 'place of death', {'concept': 'city'}], ['Mohamed Tahar Mansouri', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . { VALUES ( ?r ) { ( resource:Rudolf_Doehn ) ( resource:Mohamed_Tahar_Mansouri ) } . ?r property:place_of_death ?m } }
[]
city
Q1731 Q3572
SYSTEM
Dresden, Tunis
Q1731 Q3572
OR((Q122637,P20,c(Q515)), (Q26265817,P20,c(Q515)))
action filter_type
action union
action find
entity Q122637
relation P20
action find
entity Q26265817
relation P20
type Q515
Rudolf Doehn or Mohamed Tahar Mansouri expired in [ANSWERS]
{'OR': [['Q122637', 'P20', {'concept': 'Q515'}], ['Q26265817', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q515 . { VALUES ( ?r ) { ( resource:Q122637 ) ( resource:Q26265817 ) } . ?r property:P20 ?m } }
Dresden Tunis
Rudolf Doehn or Mohamed Tahar Mansouri expired in Dresden and Tunis
Dresden Tunis
action filter_type
action union
action find
entity Rudolf Doehn
relation place of death
action find
entity Mohamed Tahar Mansouri
relation place of death
type city
{'OR': [['Rudolf Doehn', 'place of death', {'concept': 'city'}], ['Mohamed Tahar Mansouri', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:city . { VALUES ( ?r ) { ( resource:Rudolf_Doehn ) ( resource:Mohamed_Tahar_Mansouri ) } . ?r property:place_of_death ?m } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are partner towns of that city ?
(Q3572,P190,c(Q56061))
['Q3572', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3572 property:P190 ?z . ?z rdf:type ontology:Q56061 }
['Tunis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Tunis property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q3572
SYSTEM
Did you mean Tunis ?
(Q1731,P190,c(Q56061)) (Q3572,P190,c(Q56061))
[ANSWER]
['Q1731', 'P190', {'concept': 'Q56061'}] ['Q3572', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3572 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Tunis ?
Tunis
['Dresden', 'sister city', {'concept': 'administrative territorial entity'}] ['Tunis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Tunis property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q3572,P190,c(Q56061))
['Q3572', 'P190', {'concept': 'Q56061'}]
['Tunis', 'sister city', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
16
Q1741 Q269 Q1754 Q3882 Q340 Q35178 Q3551 Q8678 Q649 Q597 Q3561 Q3711 Q82070 Q365 Q3805 Q1085
(Q3572,P190,c(Q56061))
[ANSWER]
['Q3572', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q3572 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Vienna Tashkent Stockholm Manama Montreal Kuwait City Rabat Rio de Janeiro Moscow Lisbon Algiers Belgrade Tyre Cologne Amman Prague
16
['Tunis', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Tunis property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1581
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Missouri ?
(Q1581,P1313,c(Q12737077))
action filter_type
action find
entity Q1581
relation P1313
type Q12737077
['Q1581', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1581 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
Missouri
action filter_type
action find
entity Missouri
relation office held by head of government
type occupation
['Missouri', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Missouri property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q20801667
SYSTEM
Governor of Missouri
Q20801667
(Q1581,P1313,c(Q12737077))
action filter_type
action find
entity Q1581
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Missouri
['Q1581', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1581 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
Governor of Missouri
The Governor of Missouri serves as the political office that is fulfilled by the head of the government of Missouri
Governor of Missouri
action filter_type
action find
entity Missouri
relation office held by head of government
type occupation
['Missouri', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Missouri property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q20801667 Q14688420 Q1581
P1001
Q852446
USER
Does that occupation have control over the jurisdiction of Hibbard and Missouri ?
(Q20801667,P1001,Q14688420) (Q20801667,P1001,Q1581)
action is_in
entity Q20801667
action intersection
action find_reverse
entity Q14688420
relation P1001
action find_reverse
entity Q1581
relation P1001
['Q20801667', 'P1001', 'Q14688420'] ['Q20801667', 'P1001', 'Q1581']
ASK WHERE { resource:Q20801667 property:P1001 resource:Q1581 . resource:Q20801667 property:P1001 resource:Q14688420 }
Governor of Missouri Hibbard Missouri
action is_in
entity Governor of Missouri
action intersection
action find_reverse
entity Hibbard
relation applies to jurisdiction
action find_reverse
entity Missouri
relation applies to jurisdiction
['Governor of Missouri', 'applies to jurisdiction', 'Hibbard'] ['Governor of Missouri', 'applies to jurisdiction', 'Missouri']
ASK WHERE { resource:Governor_of_Missouri property:applies_to_jurisdiction resource:Missouri . resource:Governor_of_Missouri property:applies_to_jurisdiction resource:Hibbard }
[]
administrative territorial entity of the United States
SYSTEM
NO and YES respectively
(Q20801667,P1001,Q14688420) (Q20801667,P1001,Q1581)
action is_in
entity Q20801667
action intersection
action find_reverse
entity Q14688420
relation P1001
action find_reverse
entity Q1581
relation P1001
[ANSWER]
['Q20801667', 'P1001', 'Q14688420'] ['Q20801667', 'P1001', 'Q1581']
ASK WHERE { resource:Q20801667 property:P1001 resource:Q1581 . resource:Q20801667 property:P1001 resource:Q14688420 }
NO and YES respectively
action is_in
entity Governor of Missouri
action intersection
action find_reverse
entity Hibbard
relation applies to jurisdiction
action find_reverse
entity Missouri
relation applies to jurisdiction
['Governor of Missouri', 'applies to jurisdiction', 'Hibbard'] ['Governor of Missouri', 'applies to jurisdiction', 'Missouri']
ASK WHERE { resource:Governor_of_Missouri property:applies_to_jurisdiction resource:Missouri . resource:Governor_of_Missouri property:applies_to_jurisdiction resource:Hibbard }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18131809 Q1581 Q9046596
P1001
Q852446
USER
Does Member of the Missouri House of Representatives apply to jurisdiction over Missouri and Young Township ?
(Q18131809,P1001,Q1581) (Q18131809,P1001,Q9046596)
action is_in
entity Q18131809
action intersection
action find_reverse
entity Q1581
relation P1001
action find_reverse
entity Q9046596
relation P1001
['Q18131809', 'P1001', 'Q1581'] ['Q18131809', 'P1001', 'Q9046596']
ASK WHERE { resource:Q18131809 property:P1001 resource:Q1581 . resource:Q18131809 property:P1001 resource:Q9046596 }
Member of the Missouri House of Representatives Missouri Young Township
action is_in
entity Member of the Missouri House of Representatives
action intersection
action find_reverse
entity Missouri
relation applies to jurisdiction
action find_reverse
entity Young Township
relation applies to jurisdiction
['Member of the Missouri House of Representatives', 'applies to jurisdiction', 'Missouri'] ['Member of the Missouri House of Representatives', 'applies to jurisdiction', 'Young Township']
ASK WHERE { resource:Member_of_the_Missouri_House_of_Representatives property:applies_to_jurisdiction resource:Missouri . resource:Member_of_the_Missouri_House_of_Representatives property:applies_to_jurisdiction resource:Young_Township }
[]
administrative territorial entity of the United States
SYSTEM
YES and NO respectively
(Q18131809,P1001,Q1581) (Q18131809,P1001,Q9046596)
action is_in
entity Q18131809
action intersection
action find_reverse
entity Q1581
relation P1001
action find_reverse
entity Q9046596
relation P1001
[ANSWER]
['Q18131809', 'P1001', 'Q1581'] ['Q18131809', 'P1001', 'Q9046596']
ASK WHERE { resource:Q18131809 property:P1001 resource:Q1581 . resource:Q18131809 property:P1001 resource:Q9046596 }
YES and NO respectively
action is_in
entity Member of the Missouri House of Representatives
action intersection
action find_reverse
entity Missouri
relation applies to jurisdiction
action find_reverse
entity Young Township
relation applies to jurisdiction
['Member of the Missouri House of Representatives', 'applies to jurisdiction', 'Missouri'] ['Member of the Missouri House of Representatives', 'applies to jurisdiction', 'Young Township']
ASK WHERE { resource:Member_of_the_Missouri_House_of_Representatives property:applies_to_jurisdiction resource:Missouri . resource:Member_of_the_Missouri_House_of_Representatives property:applies_to_jurisdiction resource:Young_Township }
[]