Simple Question (Direct)
Simple Question
Q1793324
P19
Q486972
USER
Which human settlement is the birthplace of Kurt A. Heller ?
(Q1793324,P19,c(Q486972))
action filter_type
action find
entity Q1793324
relation P19
type Q486972
['Q1793324', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q486972 . resource:Q1793324 property:P19 ?s }
Kurt A. Heller
action filter_type
action find
entity Kurt A. Heller
relation place of birth
type human settlement
['Kurt A. Heller', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:human_settlement . resource:Kurt_A._Heller property:place_of_birth ?s }
[]
human settlement
Q61711
SYSTEM
Külsheim
Q61711
(Q1793324,P19,c(Q486972))
action filter_type
action find
entity Q1793324
relation P19
type Q486972
[ANSWER] is the birthplace of Kurt A. Heller
['Q1793324', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q486972 . resource:Q1793324 property:P19 ?s }
Külsheim
Külsheim is the birthplace of Kurt A. Heller
Külsheim
action filter_type
action find
entity Kurt A. Heller
relation place of birth
type human settlement
['Kurt A. Heller', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:human_settlement . resource:Kurt_A._Heller property:place_of_birth ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61711
P47
Q486972
USER
Which human settlement is bordered by that one ?
(Q61711,P47,c(Q486972))
action filter_type
action find
entity Q61711
relation P47
type Q486972
['Q61711', 'P47', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q61711 property:P47 ?n . ?n rdf:type ontology:Q486972 }
Külsheim
action filter_type
action find
entity Külsheim
relation shares border with
type human settlement
['Külsheim', 'shares border with', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Külsheim property:shares_border_with ?n . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q61912
SYSTEM
Wertheim am Main
Q61912
(Q61711,P47,c(Q486972))
action filter_type
action find
entity Q61711
relation P47
type Q486972
Am [ANSWER] is bordered by that one
['Q61711', 'P47', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q61711 property:P47 ?n . ?n rdf:type ontology:Q486972 }
Wertheim am Main
Am Wertheim am Main is bordered by that one
Wertheim am Main
action filter_type
action find
entity Külsheim
relation shares border with
type human settlement
['Külsheim', 'shares border with', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Külsheim property:shares_border_with ?n . ?n rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18346683 Q1793324
P127 P937
Q56061
USER
Which administrative territories are the work locations of Kurt A. Heller or are the owners of Savonlinna Provincial Museum ?
OR((Q1793324,P937,c(Q56061)), (Q18346683,P127,c(Q56061)))
action filter_type
action union
action find
entity Q1793324
relation P937
action find
entity Q18346683
relation P127
type Q56061
{'OR': [['Q1793324', 'P937', {'concept': 'Q56061'}], ['Q18346683', 'P127', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1793324 property:P937 ?n } UNION { resource:Q18346683 property:P127 ?n } } . ?n rdf:type ontology:Q56061 }
Savonlinna Provincial Museum Kurt A. Heller
action filter_type
action union
action find
entity Kurt A. Heller
relation work location
action find
entity Savonlinna Provincial Museum
relation owned by
type administrative territorial entity
{'OR': [['Kurt A. Heller', 'work location', {'concept': 'administrative territorial entity'}], ['Savonlinna Provincial Museum', 'owned by', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Kurt_A._Heller property:work_location ?n } UNION { resource:Savonlinna_Provincial_Museum property:owned_by ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726 Q683512
SYSTEM
Munich, Savonlinna
Q1726 Q683512
OR((Q1793324,P937,c(Q56061)), (Q18346683,P127,c(Q56061)))
action filter_type
action union
action find
entity Q1793324
relation P937
action find
entity Q18346683
relation P127
type Q56061
[ANSWERS] are the work locations of Kurt A. Heller or are the owners of Savonlinna Provincial Museum
{'OR': [['Q1793324', 'P937', {'concept': 'Q56061'}], ['Q18346683', 'P127', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1793324 property:P937 ?n } UNION { resource:Q18346683 property:P127 ?n } } . ?n rdf:type ontology:Q56061 }
Munich Savonlinna
Munich and Savonlinna are the work locations of Kurt A. Heller or are the owners of Savonlinna Provincial Museum
Munich Savonlinna
action filter_type
action union
action find
entity Kurt A. Heller
relation work location
action find
entity Savonlinna Provincial Museum
relation owned by
type administrative territorial entity
{'OR': [['Kurt A. Heller', 'work location', {'concept': 'administrative territorial entity'}], ['Savonlinna Provincial Museum', 'owned by', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Kurt_A._Heller property:work_location ?n } UNION { resource:Savonlinna_Provincial_Museum property:owned_by ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q683512
P190
Q56061
USER
Which administrative territories are sister towns of that one ?
(Q683512,P190,c(Q56061))
action filter_type
action find
entity Q683512
relation P190
type Q56061
['Q683512', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q683512 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Savonlinna
action filter_type
action find
entity Savonlinna
relation sister city
type administrative territorial entity
['Savonlinna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Savonlinna property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q683512
SYSTEM
Did you mean Savonlinna ?
Q1726 Q683512
(Q1726,P190,c(Q56061)) (Q683512,P190,c(Q56061))
[ANSWER]
['Q1726', 'P190', {'concept': 'Q56061'}] ['Q683512', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q683512 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Munich Savonlinna
Did you mean Savonlinna ?
Savonlinna
['Munich', 'sister city', {'concept': 'administrative territorial entity'}] ['Savonlinna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Savonlinna property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q683512,P190,c(Q56061))
['Q683512', 'P190', {'concept': 'Q56061'}]
['Savonlinna', 'sister city', {'concept': 'administrative territorial entity'}]
[]
Q196678 Q26345 Q192898
SYSTEM
Torzhok, Kalmar, Selfoss
Q196678 Q26345 Q192898
(Q683512,P190,c(Q56061))
action filter_type
action find
entity Q683512
relation P190
type Q56061
[ANSWERS] are sister towns of that one
['Q683512', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q683512 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Torzhok Kalmar Selfoss
Torzhok, Kalmar and Selfoss are sister towns of that one
Torzhok Kalmar Selfoss
action filter_type
action find
entity Savonlinna
relation sister city
type administrative territorial entity
['Savonlinna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Savonlinna property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q196678 Q26345 Q192898
P17
Q15617994
USER
Which administrative territories are those administrative territories located in ?
(Q196678,P17,c(Q15617994)) (Q26345,P17,c(Q15617994)) (Q192898,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q196678', 'P17', {'concept': 'Q15617994'}] ['Q26345', 'P17', {'concept': 'Q15617994'}] ['Q192898', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . ?u property:P17 ?n . VALUES ( ?u ) { ( resource:Q196678 ) ( resource:Q26345 ) ( resource:Q192898 ) } }
Torzhok Kalmar Selfoss
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Torzhok', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kalmar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Selfoss', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:country ?n . VALUES ( ?u ) { ( resource:Torzhok ) ( resource:Kalmar ) ( resource:Selfoss ) } }
[]
designation for an administrative territorial entity
Q159 Q34 Q189
SYSTEM
Russia, Sweden, Iceland
Q159 Q34 Q189
(Q196678,P17,c(Q15617994)) (Q26345,P17,c(Q15617994)) (Q192898,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those administrative territories are located in [ANSWERS]
['Q196678', 'P17', {'concept': 'Q15617994'}] ['Q26345', 'P17', {'concept': 'Q15617994'}] ['Q192898', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . ?u property:P17 ?n . VALUES ( ?u ) { ( resource:Q196678 ) ( resource:Q26345 ) ( resource:Q192898 ) } }
Russia Sweden Iceland
Those administrative territories are located in Russia, Sweden and Iceland
Russia Sweden Iceland
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Torzhok', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kalmar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Selfoss', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:country ?n . VALUES ( ?u ) { ( resource:Torzhok ) ( resource:Kalmar ) ( resource:Selfoss ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q196678
P190
Q24293650
USER
Which type of german administrative division is the sister city of that administrative territory ?
(Q196678,P190,c(Q24293650))
action filter_type
action find
entity Q196678
relation P190
type Q24293650
['Q196678', 'P190', {'concept': 'Q24293650'}]
SELECT DISTINCT ?y WHERE { resource:Q196678 property:P190 ?y . ?y rdf:type ontology:Q24293650 }
Torzhok
action filter_type
action find
entity Torzhok
relation sister city
type type of german administrative division
['Torzhok', 'sister city', {'concept': 'type of german administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Torzhok property:sister_city ?y . ?y rdf:type ontology:type_of_german_administrative_division }
[]
type of german administrative division
Clarification for simple ques.
Q196678
SYSTEM
Did you mean Torzhok ?
Q159 Q34 Q189
(Q159,P190,c(Q24293650)) (Q34,P190,c(Q24293650)) (Q189,P190,c(Q24293650))
[ANSWER]
['Q159', 'P190', {'concept': 'Q24293650'}] ['Q34', 'P190', {'concept': 'Q24293650'}] ['Q189', 'P190', {'concept': 'Q24293650'}]
SELECT DISTINCT ?y WHERE { resource:Q196678 property:P190 ?y . ?y rdf:type ontology:Q24293650 }
Russia Sweden Iceland
Did you mean Torzhok ?
Torzhok
['Russia', 'sister city', {'concept': 'type of german administrative division'}] ['Sweden', 'sister city', {'concept': 'type of german administrative division'}] ['Iceland', 'sister city', {'concept': 'type of german administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Torzhok property:sister_city ?y . ?y rdf:type ontology:type_of_german_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q196678,P190,c(Q24293650))
['Q196678', 'P190', {'concept': 'Q24293650'}]
['Torzhok', 'sister city', {'concept': 'type of german administrative division'}]
[]
Q6954
SYSTEM
Melle
Q6954
(Q196678,P190,c(Q24293650))
action filter_type
action find
entity Q196678
relation P190
type Q24293650
[ANSWER] is the sister city of that administrative territory
['Q196678', 'P190', {'concept': 'Q24293650'}]
SELECT DISTINCT ?y WHERE { resource:Q196678 property:P190 ?y . ?y rdf:type ontology:Q24293650 }
Melle
Melle is the sister city of that administrative territory
Melle
action filter_type
action find
entity Torzhok
relation sister city
type type of german administrative division
['Torzhok', 'sister city', {'concept': 'type of german administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Torzhok property:sister_city ?y . ?y rdf:type ontology:type_of_german_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26345
P190
Q13220204
USER
Which administrative country subdivisions are twin towns of Kalmar ?
(Q26345,P190,c(Q13220204))
action filter_type
action find
entity Q26345
relation P190
type Q13220204
['Q26345', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { resource:Q26345 property:P190 ?n . ?n rdf:type ontology:Q13220204 }
Kalmar
action filter_type
action find
entity Kalmar
relation sister city
type second-level administrative country subdivision
['Kalmar', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { resource:Kalmar property:sister_city ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q252205 Q1719466
SYSTEM
Árborg, Panevėžys
Q252205 Q1719466
(Q26345,P190,c(Q13220204))
action filter_type
action find
entity Q26345
relation P190
type Q13220204
[ANSWERS] are twin towns of Kalmar
['Q26345', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { resource:Q26345 property:P190 ?n . ?n rdf:type ontology:Q13220204 }
Árborg Panevėžys
Árborg and Panevėžys are twin towns of Kalmar
Árborg Panevėžys
action filter_type
action find
entity Kalmar
relation sister city
type second-level administrative country subdivision
['Kalmar', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { resource:Kalmar property:sister_city ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q26345
Q486972
USER
And which human settlement?
(Q26345,P190,c(Q486972))
action filter_type
action find
entity Q26345
relation P190
type Q486972
['Q26345', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { resource:Q26345 property:P190 ?v . ?v rdf:type ontology:Q486972 }
Kalmar
action filter_type
action find
entity Kalmar
relation sister city
type human settlement
['Kalmar', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { resource:Kalmar property:sister_city ?v . ?v rdf:type ontology:human_settlement }
[]
human settlement
Q1792
SYSTEM
Gdańsk
Q1792
(Q26345,P190,c(Q486972))
action filter_type
action find
entity Q26345
relation P190
type Q486972
[ANSWER]
['Q26345', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { resource:Q26345 property:P190 ?v . ?v rdf:type ontology:Q486972 }
Gdańsk
Gdańsk
action filter_type
action find
entity Kalmar
relation sister city
type human settlement
['Kalmar', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { resource:Kalmar property:sister_city ?v . ?v rdf:type ontology:human_settlement }
[]