Simple Question (Direct)
Simple Question
Q2624015
P26
Q502895
USER
Who is married to Eudoxia of Moscow ?
(Q2624015,P26,c(Q502895))
action filter_type
action find
entity Q2624015
relation P26
type Q502895
['Q2624015', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q2624015 property:P26 ?q }
Eudoxia of Moscow
action filter_type
action find
entity Eudoxia of Moscow
relation spouse
type common name
['Eudoxia of Moscow', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Eudoxia_of_Moscow property:spouse ?q }
[]
common name
Q188995
SYSTEM
Dmitry Donskoy
Q188995
(Q2624015,P26,c(Q502895))
action filter_type
action find
entity Q2624015
relation P26
type Q502895
[ANSWER] is married to Eudoxia of Moscow
['Q2624015', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q2624015 property:P26 ?q }
Dmitry Donskoy
Dmitry Donskoy is married to Eudoxia of Moscow
Dmitry Donskoy
action filter_type
action find
entity Eudoxia of Moscow
relation spouse
type common name
['Eudoxia of Moscow', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Eudoxia_of_Moscow property:spouse ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q188995
P22
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P22,Q188995)
action filter_type
action find_reverse
entity Q188995
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q188995']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P22 resource:Q188995 }
Dmitry Donskoy
action filter_type
action find_reverse
entity Dmitry Donskoy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Dmitry Donskoy']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:father resource:Dmitry_Donskoy }
[]
common name
Q272156 Q2622520 Q4065829
SYSTEM
Vasily I of Moscow, Yury of Zvenigorod, Andrew of Mozhaysk
Q4231307 Q2622520 Q272156 Q4386204 Q4065829
(c(Q502895),P22,Q188995)
action filter_type
action find_reverse
entity Q188995
relation P22
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q188995']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P22 resource:Q188995 }
Konstantin of Uglich Yury of Zvenigorod Vasily I of Moscow Peter of Dmitrov Andrew of Mozhaysk
Vasily I of Moscow, Yury of Zvenigorod and Andrew of Mozhaysk have that one as a parent
Vasily I of Moscow Yury of Zvenigorod Andrew of Mozhaysk
action filter_type
action find_reverse
entity Dmitry Donskoy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Dmitry Donskoy']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:father resource:Dmitry_Donskoy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272156
P25
Q502895
USER
Who was the mom of Vasily I of Moscow ?
(Q272156,P25,c(Q502895))
action filter_type
action find
entity Q272156
relation P25
type Q502895
['Q272156', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q272156 property:P25 ?x }
Vasily I of Moscow
action filter_type
action find
entity Vasily I of Moscow
relation mother
type common name
['Vasily I of Moscow', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Vasily_I_of_Moscow property:mother ?x }
[]
common name
Q2624015
SYSTEM
Eudoxia of Moscow
Q2624015
(Q272156,P25,c(Q502895))
action filter_type
action find
entity Q272156
relation P25
type Q502895
The mom of Vasily I of Moscow was born [ANSWER]
['Q272156', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q272156 property:P25 ?x }
Eudoxia of Moscow
The mom of Vasily I of Moscow was born Eudoxia of Moscow
Eudoxia of Moscow
action filter_type
action find
entity Vasily I of Moscow
relation mother
type common name
['Vasily I of Moscow', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Vasily_I_of_Moscow property:mother ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q272156
P53
Q8436
USER
What is the family that Vasily I of Moscow belongs to ?
(Q272156,P53,c(Q8436))
action filter_type
action find
entity Q272156
relation P53
type Q8436
['Q272156', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?v WHERE { resource:Q272156 property:P53 ?v . ?v rdf:type ontology:Q8436 }
Vasily I of Moscow
action filter_type
action find
entity Vasily I of Moscow
relation noble family
type family
['Vasily I of Moscow', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?v WHERE { resource:Vasily_I_of_Moscow property:noble_family ?v . ?v rdf:type ontology:family }
[]
family
Q210398
SYSTEM
Rurik dynasty
Q210398
(Q272156,P53,c(Q8436))
action filter_type
action find
entity Q272156
relation P53
type Q8436
The family that Vasily I of Moscow belongs to is the [ANSWER]
['Q272156', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?v WHERE { resource:Q272156 property:P53 ?v . ?v rdf:type ontology:Q8436 }
Rurik dynasty
The family that Vasily I of Moscow belongs to is the Rurik dynasty
Rurik dynasty
action filter_type
action find
entity Vasily I of Moscow
relation noble family
type family
['Vasily I of Moscow', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?v WHERE { resource:Vasily_I_of_Moscow property:noble_family ?v . ?v rdf:type ontology:family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q272156
P7
Q502895
USER
Who are the brother of that one ?
(Q210398,P7,c(Q502895))
action filter_type
action find
entity Q272156
relation P7
type Q502895
['Q210398', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q272156 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Vasily I of Moscow
action filter_type
action find
entity Vasily I of Moscow
relation brother
type common name
['Rurik dynasty', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Vasily_I_of_Moscow property:brother ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2622520 Q4065829 Q4386204
SYSTEM
Yury of Zvenigorod, Andrew of Mozhaysk, Peter of Dmitrov
Q2622520 Q4065829 Q4386204 Q4231307
(Q210398,P7,c(Q502895))
action filter_type
action find
entity Q272156
relation P7
type Q502895
The brother of that one are the [ANSWERS]
['Q210398', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q272156 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Yury of Zvenigorod Andrew of Mozhaysk Peter of Dmitrov Konstantin of Uglich
The brother of that one are the Yury of Zvenigorod, Andrew of Mozhaysk and Peter of Dmitrov
Yury of Zvenigorod Andrew of Mozhaysk Peter of Dmitrov
action filter_type
action find
entity Vasily I of Moscow
relation brother
type common name
['Rurik dynasty', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Vasily_I_of_Moscow property:brother ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2622520 Q4065829 Q4386204
P7
Q502895
USER
Who are Yury of Zvenigorod, Andrew of Mozhaysk and Peter of Dmitrov a brother of ?
(c(Q502895),P7,Q2622520) (c(Q502895),P7,Q4065829) (c(Q502895),P7,Q4386204)
action union
action filter_type
action find
entity Q2622520
relation P7
type Q502895
action filter_type
action find
entity Q4065829
relation P7
type Q502895
action filter_type
action find
entity Q4386204
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2622520'] [{'concept': 'Q502895'}, 'P7', 'Q4065829'] [{'concept': 'Q502895'}, 'P7', 'Q4386204']
SELECT DISTINCT ?l WHERE { { resource:Q2622520 property:P7 ?l . ?l rdf:type ontology:Q502895 } UNION { resource:Q4065829 property:P7 ?l . ?l rdf:type ontology:Q502895 } }
Yury of Zvenigorod Andrew of Mozhaysk Peter of Dmitrov
action union
action filter_type
action find
entity Yury of Zvenigorod
relation brother
type common name
action filter_type
action find
entity Andrew of Mozhaysk
relation brother
type common name
action filter_type
action find
entity Peter of Dmitrov
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Yury of Zvenigorod'] [{'concept': 'common name'}, 'brother', 'Andrew of Mozhaysk'] [{'concept': 'common name'}, 'brother', 'Peter of Dmitrov']
SELECT DISTINCT ?l WHERE { { resource:Yury_of_Zvenigorod property:brother ?l . ?l rdf:type ontology:common_name } UNION { resource:Andrew_of_Mozhaysk property:brother ?l . ?l rdf:type ontology:common_name } }
[]
common name
Q272156 Q272156 Q272156
SYSTEM
Vasily I of Moscow
Q272156 Q4386204 Q4065829 Q4231307 Q272156 Q4386204 Q2622520 Q4231307 Q272156 Q4065829 Q2622520 Q4231307
(c(Q502895),P7,Q2622520) (c(Q502895),P7,Q4065829) (c(Q502895),P7,Q4386204)
action union
action filter_type
action find
entity Q2622520
relation P7
type Q502895
action filter_type
action find
entity Q4065829
relation P7
type Q502895
action filter_type
action find
entity Q4386204
relation P7
type Q502895
Yury of Zvenigorod , Andrew of Mozhaysk and Peter of Dmitrov a brother of are kings [ANSWER], [ANSWER] and [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q2622520'] [{'concept': 'Q502895'}, 'P7', 'Q4065829'] [{'concept': 'Q502895'}, 'P7', 'Q4386204']
SELECT DISTINCT ?l WHERE { { resource:Q2622520 property:P7 ?l . ?l rdf:type ontology:Q502895 } UNION { resource:Q4065829 property:P7 ?l . ?l rdf:type ontology:Q502895 } }
Vasily I of Moscow Peter of Dmitrov Andrew of Mozhaysk Konstantin of Uglich Vasily I of Moscow Peter of Dmitrov Yury of Zvenigorod Konstantin of Uglich Vasily I of Moscow Andrew of Mozhaysk Yury of Zvenigorod Konstantin of Uglich
Yury of Zvenigorod , Andrew of Mozhaysk and Peter of Dmitrov a brother of are kings Vasily I of Moscow, Vasily I of Moscow and Vasily I of Moscow
Vasily I of Moscow Vasily I of Moscow Vasily I of Moscow
action union
action filter_type
action find
entity Yury of Zvenigorod
relation brother
type common name
action filter_type
action find
entity Andrew of Mozhaysk
relation brother
type common name
action filter_type
action find
entity Peter of Dmitrov
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Yury of Zvenigorod'] [{'concept': 'common name'}, 'brother', 'Andrew of Mozhaysk'] [{'concept': 'common name'}, 'brother', 'Peter of Dmitrov']
SELECT DISTINCT ?l WHERE { { resource:Yury_of_Zvenigorod property:brother ?l . ?l rdf:type ontology:common_name } UNION { resource:Andrew_of_Mozhaysk property:brother ?l . ?l rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q272156
P21
Q290
USER
Which sex does that person possess ?
(Q272156,P21,c(Q290)) (Q272156,P21,c(Q290)) (Q272156,P21,c(Q290))
action filter_type
action find
entity Q272156
relation P21
type Q290
['Q272156', 'P21', {'concept': 'Q290'}] ['Q272156', 'P21', {'concept': 'Q290'}] ['Q272156', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q272156 property:P21 ?f . ?f rdf:type ontology:Q290 }
Vasily I of Moscow
action filter_type
action find
entity Vasily I of Moscow
relation gender
type sex
['Vasily I of Moscow', 'gender', {'concept': 'sex'}] ['Vasily I of Moscow', 'gender', {'concept': 'sex'}] ['Vasily I of Moscow', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Vasily_I_of_Moscow property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q272156,P21,c(Q290)) (Q272156,P21,c(Q290)) (Q272156,P21,c(Q290))
action filter_type
action find
entity Q272156
relation P21
type Q290
That person possesses a [ANSWER]
['Q272156', 'P21', {'concept': 'Q290'}] ['Q272156', 'P21', {'concept': 'Q290'}] ['Q272156', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q272156 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Vasily I of Moscow
relation gender
type sex
['Vasily I of Moscow', 'gender', {'concept': 'sex'}] ['Vasily I of Moscow', 'gender', {'concept': 'sex'}] ['Vasily I of Moscow', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Vasily_I_of_Moscow property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q272156
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q272156
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q272156 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Vasily I of Moscow
action filter_type
action find
entity Vasily I of Moscow
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Vasily_I_of_Moscow property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q272156
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q272156 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Moscow
The expiration of that person occurred in Moscow
Moscow
action filter_type
action find
entity Vasily I of Moscow
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Vasily_I_of_Moscow property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q649 Q437 Q25409
P190
Q56061
USER
Is that administrative territory sister town of Ljubljana and Košice ?
(Q649,P190,Q437) (Q649,P190,Q25409)
action is_in
entity Q649
action intersection
action find_reverse
entity Q437
relation P190
action find_reverse
entity Q25409
relation P190
['Q649', 'P190', 'Q437'] ['Q649', 'P190', 'Q25409']
ASK WHERE { resource:Q649 property:P190 resource:Q437 . resource:Q649 property:P190 resource:Q25409 }
Moscow Ljubljana Košice
action is_in
entity Moscow
action intersection
action find_reverse
entity Ljubljana
relation sister city
action find_reverse
entity Košice
relation sister city
['Moscow', 'sister city', 'Ljubljana'] ['Moscow', 'sister city', 'Košice']
ASK WHERE { resource:Moscow property:sister_city resource:Ljubljana . resource:Moscow property:sister_city resource:Košice }
[]
administrative territorial entity
SYSTEM
YES
(Q649,P190,Q437) (Q649,P190,Q25409)
action is_in
entity Q649
action intersection
action find_reverse
entity Q437
relation P190
action find_reverse
entity Q25409
relation P190
[ANSWER]
['Q649', 'P190', 'Q437'] ['Q649', 'P190', 'Q25409']
ASK WHERE { resource:Q649 property:P190 resource:Q437 . resource:Q649 property:P190 resource:Q25409 }
Yes
action is_in
entity Moscow
action intersection
action find_reverse
entity Ljubljana
relation sister city
action find_reverse
entity Košice
relation sister city
['Moscow', 'sister city', 'Ljubljana'] ['Moscow', 'sister city', 'Košice']
ASK WHERE { resource:Moscow property:sister_city resource:Ljubljana . resource:Moscow property:sister_city resource:Košice }
[]