Simple Question (Direct)
Simple Question
Q1356039
P53
Q8436
USER
Which family did Nikolay Bunge belong to ?
(Q1356039,P53,c(Q8436))
action filter_type
action find
entity Q1356039
relation P53
type Q8436
['Q1356039', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?i WHERE { resource:Q1356039 property:P53 ?i . ?i rdf:type ontology:Q8436 }
Nikolay Bunge
action filter_type
action find
entity Nikolay Bunge
relation noble family
type family
['Nikolay Bunge', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?i WHERE { resource:Nikolay_Bunge property:noble_family ?i . ?i rdf:type ontology:family }
[]
family
Q10437748
SYSTEM
Bunge family
Q10437748
(Q1356039,P53,c(Q8436))
action filter_type
action find
entity Q1356039
relation P53
type Q8436
Nikolay Bunge belonged to [ANSWER]
['Q1356039', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?i WHERE { resource:Q1356039 property:P53 ?i . ?i rdf:type ontology:Q8436 }
Bunge family
Nikolay Bunge belonged to Bunge family
Bunge family
action filter_type
action find
entity Nikolay Bunge
relation noble family
type family
['Nikolay Bunge', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?i WHERE { resource:Nikolay_Bunge property:noble_family ?i . ?i rdf:type ontology:family }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19363710 Q1356039
P20 P915
Q56061
USER
Which administrative territories are the places of death of Nikolay Bunge or were Not Ok Here, Not Ok Anywhere filmed at ?
OR((Q1356039,P20,c(Q56061)), (Q19363710,P915,c(Q56061)))
action filter_type
action union
action find
entity Q1356039
relation P20
action find
entity Q19363710
relation P915
type Q56061
{'OR': [['Q1356039', 'P20', {'concept': 'Q56061'}], ['Q19363710', 'P915', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1356039 property:P20 ?j } UNION { resource:Q19363710 property:P915 ?j } } . ?j rdf:type ontology:Q56061 }
Not Ok Here, Not Ok Anywhere Nikolay Bunge
action filter_type
action union
action find
entity Nikolay Bunge
relation place of death
action find
entity Not Ok Here, Not Ok Anywhere
relation filming location
type administrative territorial entity
{'OR': [['Nikolay Bunge', 'place of death', {'concept': 'administrative territorial entity'}], ['Not Ok Here, Not Ok Anywhere', 'filming location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Nikolay_Bunge property:place_of_death ?j } UNION { resource:Not_Ok_Here,_Not_Ok_Anywhere property:filming_location ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7947 Q84
SYSTEM
Pushkin, London
Q7947 Q84
OR((Q1356039,P20,c(Q56061)), (Q19363710,P915,c(Q56061)))
action filter_type
action union
action find
entity Q1356039
relation P20
action find
entity Q19363710
relation P915
type Q56061
[ANSWERS] are the places of death of Nikolay Bunge or were Not Ok Here, Not Ok Anywhere filmed at
{'OR': [['Q1356039', 'P20', {'concept': 'Q56061'}], ['Q19363710', 'P915', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1356039 property:P20 ?j } UNION { resource:Q19363710 property:P915 ?j } } . ?j rdf:type ontology:Q56061 }
Pushkin London
Pushkin and London are the places of death of Nikolay Bunge or were Not Ok Here, Not Ok Anywhere filmed at
Pushkin London
action filter_type
action union
action find
entity Nikolay Bunge
relation place of death
action find
entity Not Ok Here, Not Ok Anywhere
relation filming location
type administrative territorial entity
{'OR': [['Nikolay Bunge', 'place of death', {'concept': 'administrative territorial entity'}], ['Not Ok Here, Not Ok Anywhere', 'filming location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Nikolay_Bunge property:place_of_death ?j } UNION { resource:Not_Ok_Here,_Not_Ok_Anywhere property:filming_location ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7947 Q84
P17
Q15617994
USER
Which administrative territories are those administrative territories present in ?
(Q7947,P17,c(Q15617994)) (Q84,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q7947', 'P17', {'concept': 'Q15617994'}] ['Q84', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?f ) { ( resource:Q7947 ) ( resource:Q84 ) } . ?n rdf:type ontology:Q15617994 . ?f property:P17 ?n }
Pushkin London
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Pushkin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['London', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?f ) { ( resource:Pushkin ) ( resource:London ) } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:country ?n }
[]
designation for an administrative territorial entity
Q159 Q145
SYSTEM
Russia, United Kingdom
Q159 Q145
(Q7947,P17,c(Q15617994)) (Q84,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those administrative territories are in [ANSWERS]
['Q7947', 'P17', {'concept': 'Q15617994'}] ['Q84', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?f ) { ( resource:Q7947 ) ( resource:Q84 ) } . ?n rdf:type ontology:Q15617994 . ?f property:P17 ?n }
Russia United Kingdom
Those administrative territories are in Russia and United Kingdom
Russia United Kingdom
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Pushkin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['London', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?f ) { ( resource:Pushkin ) ( resource:London ) } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:country ?n }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7947
P190
Q15617994
USER
Which administrative territories are the sister cities of that administrative territory ?
(Q7947,P190,c(Q15617994))
action filter_type
action find
entity Q7947
relation P190
type Q15617994
['Q7947', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7947 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Pushkin
action filter_type
action find
entity Pushkin
relation sister city
type designation for an administrative territorial entity
['Pushkin', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Pushkin property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q7947
SYSTEM
Did you mean Pushkin ?
Q159 Q145
(Q159,P190,c(Q15617994)) (Q145,P190,c(Q15617994))
[ANSWER]
['Q159', 'P190', {'concept': 'Q15617994'}] ['Q145', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7947 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Russia United Kingdom
Did you mean Pushkin ?
Pushkin
['Russia', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Pushkin property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7947,P190,c(Q15617994))
['Q7947', 'P190', {'concept': 'Q15617994'}]
['Pushkin', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
[]
Q4071168 Q6247
SYSTEM
Neukölln, Mantua
Q4071168 Q6247
(Q7947,P190,c(Q15617994))
action filter_type
action find
entity Q7947
relation P190
type Q15617994
[ANSWERS] are the sister cities of that administrative territory
['Q7947', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7947 property:P190 ?l . ?l rdf:type ontology:Q15617994 }
Neukölln Mantua
Neukölln and Mantua are the sister cities of that administrative territory
Neukölln Mantua
action filter_type
action find
entity Pushkin
relation sister city
type designation for an administrative territorial entity
['Pushkin', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Pushkin property:sister_city ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7947
P190
Q56061
USER
Are Pushkin sister town of those administrative territories ?
(Q7947,P190,Q4071168) (Q7947,P190,Q6247)
action is_in
entity prev_answer
action find
entity Q7947
relation P190
['Q7947', 'P190', 'Q4071168'] ['Q7947', 'P190', 'Q6247']
ASK WHERE { resource:Q7947 property:P190 ?e . VALUES ( ?e ) { ( resource:Q4071168 ) ( resource:Q6247 ) } }
Pushkin
action is_in
entity prev_answer
action find
entity Pushkin
relation sister city
['Pushkin', 'sister city', 'Neukölln'] ['Pushkin', 'sister city', 'Mantua']
ASK WHERE { resource:Pushkin property:sister_city ?e . VALUES ( ?e ) { ( resource:Neukölln ) ( resource:Mantua ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q7947,P190,Q4071168) (Q7947,P190,Q6247)
action is_in
entity prev_answer
action find
entity Q7947
relation P190
[ANSWER]
['Q7947', 'P190', 'Q4071168'] ['Q7947', 'P190', 'Q6247']
ASK WHERE { resource:Q7947 property:P190 ?e . VALUES ( ?e ) { ( resource:Q4071168 ) ( resource:Q6247 ) } }
Yes
action is_in
entity prev_answer
action find
entity Pushkin
relation sister city
['Pushkin', 'sister city', 'Neukölln'] ['Pushkin', 'sister city', 'Mantua']
ASK WHERE { resource:Pushkin property:sister_city ?e . VALUES ( ?e ) { ( resource:Neukölln ) ( resource:Mantua ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1356039 Q770187 Q144663
P19
Q515
USER
Does Nikolay Bunge have birthplace at Kaminoyama and Hengyang ?
(Q1356039,P19,Q770187) (Q1356039,P19,Q144663)
action is_in
entity Q1356039
action intersection
action find_reverse
entity Q770187
relation P19
action find_reverse
entity Q144663
relation P19
['Q1356039', 'P19', 'Q770187'] ['Q1356039', 'P19', 'Q144663']
ASK WHERE { resource:Q1356039 property:P19 resource:Q770187 . resource:Q1356039 property:P19 resource:Q144663 }
Nikolay Bunge Kaminoyama Hengyang
action is_in
entity Nikolay Bunge
action intersection
action find_reverse
entity Kaminoyama
relation place of birth
action find_reverse
entity Hengyang
relation place of birth
['Nikolay Bunge', 'place of birth', 'Kaminoyama'] ['Nikolay Bunge', 'place of birth', 'Hengyang']
ASK WHERE { resource:Nikolay_Bunge property:place_of_birth resource:Kaminoyama . resource:Nikolay_Bunge property:place_of_birth resource:Hengyang }
[]
city
SYSTEM
NO
(Q1356039,P19,Q770187) (Q1356039,P19,Q144663)
action is_in
entity Q1356039
action intersection
action find_reverse
entity Q770187
relation P19
action find_reverse
entity Q144663
relation P19
[ANSWER]
['Q1356039', 'P19', 'Q770187'] ['Q1356039', 'P19', 'Q144663']
ASK WHERE { resource:Q1356039 property:P19 resource:Q770187 . resource:Q1356039 property:P19 resource:Q144663 }
No
action is_in
entity Nikolay Bunge
action intersection
action find_reverse
entity Kaminoyama
relation place of birth
action find_reverse
entity Hengyang
relation place of birth
['Nikolay Bunge', 'place of birth', 'Kaminoyama'] ['Nikolay Bunge', 'place of birth', 'Hengyang']
ASK WHERE { resource:Nikolay_Bunge property:place_of_birth resource:Kaminoyama . resource:Nikolay_Bunge property:place_of_birth resource:Hengyang }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q145 Q82783
P530
Q15617994
USER
Does Montespertoli have diplomatic relationships with United Kingdom ?
(Q145,P530,Q82783)
action is_in
entity Q82783
action find
entity Q145
relation P530
['Q145', 'P530', 'Q82783']
ASK WHERE { resource:Q145 property:P530 resource:Q82783 }
United Kingdom Montespertoli
action is_in
entity Montespertoli
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Montespertoli']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Montespertoli }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q145,P530,Q82783)
action is_in
entity Q82783
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q82783']
ASK WHERE { resource:Q145 property:P530 resource:Q82783 }
No
action is_in
entity Montespertoli
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Montespertoli']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Montespertoli }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4071168 Q4240730
P17
Q1048835
USER
Is Neukölln situated in Kryvobokove ?
(Q4071168,P17,Q4240730)
action is_in
entity Q4240730
action find
entity Q4071168
relation P17
['Q4071168', 'P17', 'Q4240730']
ASK WHERE { resource:Q4071168 property:P17 resource:Q4240730 }
Neukölln Kryvobokove
action is_in
entity Kryvobokove
action find
entity Neukölln
relation country
['Neukölln', 'country', 'Kryvobokove']
ASK WHERE { resource:Neukölln property:country resource:Kryvobokove }
[]
political territorial entity
SYSTEM
NO
(Q4071168,P17,Q4240730)
action is_in
entity Q4240730
action find
entity Q4071168
relation P17
[ANSWER]
['Q4071168', 'P17', 'Q4240730']
ASK WHERE { resource:Q4071168 property:P17 resource:Q4240730 }
No
action is_in
entity Kryvobokove
action find
entity Neukölln
relation country
['Neukölln', 'country', 'Kryvobokove']
ASK WHERE { resource:Neukölln property:country resource:Kryvobokove }
[]