Simple Question (Direct)
Simple Question
Q249270
P40
Q502895
USER
Who is a child of Dmitry of Pereslavl ?
(Q249270,P40,c(Q502895))
action filter_type
action find
entity Q249270
relation P40
type Q502895
['Q249270', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q249270 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Dmitry of Pereslavl
action filter_type
action find
entity Dmitry of Pereslavl
relation child
type common name
['Dmitry of Pereslavl', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Dmitry_of_Pereslavl property:child ?b . ?b rdf:type ontology:common_name }
[]
common name
Q4195594
SYSTEM
Ivan Dmitrievich of Pereyaslavl
Q4195594
(Q249270,P40,c(Q502895))
action filter_type
action find
entity Q249270
relation P40
type Q502895
A child of Dmitry of Pereslavl is named [ANSWER]
['Q249270', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q249270 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Ivan Dmitrievich of Pereyaslavl
A child of Dmitry of Pereslavl is named Ivan Dmitrievich of Pereyaslavl
Ivan Dmitrievich of Pereyaslavl
action filter_type
action find
entity Dmitry of Pereslavl
relation child
type common name
['Dmitry of Pereslavl', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Dmitry_of_Pereslavl property:child ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q249270
P22
Q502895
USER
Which person has Dmitry of Pereslavl as a parent ?
(c(Q502895),P22,Q249270)
action filter_type
action find_reverse
entity Q249270
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q249270']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q249270 . ?x rdf:type ontology:Q502895 }
Dmitry of Pereslavl
action filter_type
action find_reverse
entity Dmitry of Pereslavl
relation father
type common name
[{'concept': 'common name'}, 'father', 'Dmitry of Pereslavl']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Dmitry_of_Pereslavl . ?x rdf:type ontology:common_name }
[]
common name
Q4195594
SYSTEM
Ivan Dmitrievich of Pereyaslavl
Q4195594
(c(Q502895),P22,Q249270)
action filter_type
action find_reverse
entity Q249270
relation P22
type Q502895
[ANSWER] has Dmitry of Pereslavl as a parent
[{'concept': 'Q502895'}, 'P22', 'Q249270']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q249270 . ?x rdf:type ontology:Q502895 }
Ivan Dmitrievich of Pereyaslavl
Ivan Dmitrievich of Pereyaslavl has Dmitry of Pereslavl as a parent
Ivan Dmitrievich of Pereyaslavl
action filter_type
action find_reverse
entity Dmitry of Pereslavl
relation father
type common name
[{'concept': 'common name'}, 'father', 'Dmitry of Pereslavl']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Dmitry_of_Pereslavl . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4195594
P21
Q290
USER
Which sex does that person possess ?
(Q4195594,P21,c(Q290))
action filter_type
action find
entity Q4195594
relation P21
type Q290
['Q4195594', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4195594 property:P21 ?z . ?z rdf:type ontology:Q290 }
Ivan Dmitrievich of Pereyaslavl
action filter_type
action find
entity Ivan Dmitrievich of Pereyaslavl
relation gender
type sex
['Ivan Dmitrievich of Pereyaslavl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Ivan_Dmitrievich_of_Pereyaslavl property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4195594,P21,c(Q290))
action filter_type
action find
entity Q4195594
relation P21
type Q290
That person possesses a [ANSWER]
['Q4195594', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q4195594 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Ivan Dmitrievich of Pereyaslavl
relation gender
type sex
['Ivan Dmitrievich of Pereyaslavl', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Ivan_Dmitrievich_of_Pereyaslavl property:gender ?z . ?z rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q12795934 Q4195594
P21
Q290
USER
And also Marko Smolej
AND((Q4195594,P21,c(Q290)), (Q12795934,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4195594
relation P21
action find
entity Q12795934
relation P21
type Q290
{'AND': [['Q4195594', 'P21', {'concept': 'Q290'}], ['Q12795934', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { resource:Q4195594 property:P21 ?e . resource:Q12795934 property:P21 ?e . ?e rdf:type ontology:Q290 }
Marko Smolej Ivan Dmitrievich of Pereyaslavl
action filter_type
action intersection
action find
entity Ivan Dmitrievich of Pereyaslavl
relation gender
action find
entity Marko Smolej
relation gender
type sex
{'AND': [['Ivan Dmitrievich of Pereyaslavl', 'gender', {'concept': 'sex'}], ['Marko Smolej', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { resource:Ivan_Dmitrievich_of_Pereyaslavl property:gender ?e . resource:Marko_Smolej property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q4195594,P21,c(Q290)), (Q12795934,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4195594
relation P21
action find
entity Q12795934
relation P21
type Q290
[ANSWER]
{'AND': [['Q4195594', 'P21', {'concept': 'Q290'}], ['Q12795934', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { resource:Q4195594 property:P21 ?e . resource:Q12795934 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Ivan Dmitrievich of Pereyaslavl
relation gender
action find
entity Marko Smolej
relation gender
type sex
{'AND': [['Ivan Dmitrievich of Pereyaslavl', 'gender', {'concept': 'sex'}], ['Marko Smolej', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { resource:Ivan_Dmitrievich_of_Pereyaslavl property:gender ?e . resource:Marko_Smolej property:gender ?e . ?e rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q11688501
P21
Q502895
USER
Is Bohdan Wiśniewski a that sex ?
(Q11688501,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11688501
relation P21
['Q11688501', 'P21', 'Q6581097']
ASK WHERE { resource:Q11688501 property:P21 resource:Q6581097 }
male Bohdan Wiśniewski
action is_in
entity male
action find
entity Bohdan Wiśniewski
relation gender
['Bohdan Wiśniewski', 'gender', 'male']
ASK WHERE { resource:Bohdan_Wiśniewski property:gender resource:male }
[]
common name
SYSTEM
YES
(Q11688501,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q11688501
relation P21
[ANSWER]
['Q11688501', 'P21', 'Q6581097']
ASK WHERE { resource:Q11688501 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Bohdan Wiśniewski
relation gender
['Bohdan Wiśniewski', 'gender', 'male']
ASK WHERE { resource:Bohdan_Wiśniewski property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q249270
P7
Q502895
USER
Who are Dmitry of Pereslavl a brother of ?
(c(Q502895),P7,Q249270)
action filter_type
action find
entity Q249270
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q249270']
SELECT DISTINCT ?s WHERE { resource:Q249270 property:P7 ?s . ?s rdf:type ontology:Q502895 }
Dmitry of Pereslavl
action filter_type
action find
entity Dmitry of Pereslavl
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Dmitry of Pereslavl']
SELECT DISTINCT ?s WHERE { resource:Dmitry_of_Pereslavl property:brother ?s . ?s rdf:type ontology:common_name }
[]
common name
Q295186 Q4104407 Q2296177
SYSTEM
Daniel of Moscow, Vassili Aleksandrovitch, Andrey of Gorodets
Q295186 Q4104407 Q2296177
(c(Q502895),P7,Q249270)
action filter_type
action find
entity Q249270
relation P7
type Q502895
[ANSWERS] are Dmitry of Pereslavl a brother of
[{'concept': 'Q502895'}, 'P7', 'Q249270']
SELECT DISTINCT ?s WHERE { resource:Q249270 property:P7 ?s . ?s rdf:type ontology:Q502895 }
Daniel of Moscow Vassili Aleksandrovitch Andrey of Gorodets
Daniel of Moscow, Vassili Aleksandrovitch and Andrey of Gorodets are Dmitry of Pereslavl a brother of
Daniel of Moscow Vassili Aleksandrovitch Andrey of Gorodets
action filter_type
action find
entity Dmitry of Pereslavl
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Dmitry of Pereslavl']
SELECT DISTINCT ?s WHERE { resource:Dmitry_of_Pereslavl property:brother ?s . ?s rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2296177
P53
Q8436
USER
What dynasty does that person belong to ?
(Q2296177,P53,c(Q8436))
action filter_type
action find
entity Q2296177
relation P53
type Q8436
['Q2296177', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?b WHERE { resource:Q2296177 property:P53 ?b . ?b rdf:type ontology:Q8436 }
Andrey of Gorodets
action filter_type
action find
entity Andrey of Gorodets
relation noble family
type family
['Andrey of Gorodets', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?b WHERE { resource:Andrey_of_Gorodets property:noble_family ?b . ?b rdf:type ontology:family }
[]
family
Clarification for simple ques.
Q2296177
SYSTEM
Did you mean Andrey of Gorodets ?
Q295186 Q4104407 Q2296177
(Q295186,P53,c(Q8436)) (Q4104407,P53,c(Q8436)) (Q2296177,P53,c(Q8436))
[ANSWER]
['Q295186', 'P53', {'concept': 'Q8436'}] ['Q4104407', 'P53', {'concept': 'Q8436'}] ['Q2296177', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?b WHERE { resource:Q2296177 property:P53 ?b . ?b rdf:type ontology:Q8436 }
Daniel of Moscow Vassili Aleksandrovitch Andrey of Gorodets
Did you mean Andrey of Gorodets ?
Andrey of Gorodets
['Daniel of Moscow', 'noble family', {'concept': 'family'}] ['Vassili Aleksandrovitch', 'noble family', {'concept': 'family'}] ['Andrey of Gorodets', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?b WHERE { resource:Andrey_of_Gorodets property:noble_family ?b . ?b rdf:type ontology:family }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2296177,P53,c(Q8436))
['Q2296177', 'P53', {'concept': 'Q8436'}]
['Andrey of Gorodets', 'noble family', {'concept': 'family'}]
[]
Q210398
SYSTEM
Rurik dynasty
Q210398
(Q2296177,P53,c(Q8436))
action filter_type
action find
entity Q2296177
relation P53
type Q8436
That person belongs to [ANSWER]
['Q2296177', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?b WHERE { resource:Q2296177 property:P53 ?b . ?b rdf:type ontology:Q8436 }
Rurik dynasty
That person belongs to Rurik dynasty
Rurik dynasty
action filter_type
action find
entity Andrey of Gorodets
relation noble family
type family
['Andrey of Gorodets', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?b WHERE { resource:Andrey_of_Gorodets property:noble_family ?b . ?b rdf:type ontology:family }
[]