Simple Question (Direct)
Simple Question
Q11494241
P22
Q502895
USER
Which male person has a child named Ivan Olshanski of Dubrovytsia ?
(Q11494241,P22,c(Q502895))
action filter_type
action find
entity Q11494241
relation P22
type Q502895
['Q11494241', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q11494241 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Ivan Olshanski of Dubrovytsia
action filter_type
action find
entity Ivan Olshanski of Dubrovytsia
relation father
type common name
['Ivan Olshanski of Dubrovytsia', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ivan_Olshanski_of_Dubrovytsia property:father ?g . ?g rdf:type ontology:common_name }
[]
common name
Q3920677
SYSTEM
Yuri Olshanski
Q3920677
(Q11494241,P22,c(Q502895))
action filter_type
action find
entity Q11494241
relation P22
type Q502895
[ANSWER] has a child named Ivan Olshanski of Dubrovytsia
['Q11494241', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q11494241 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Yuri Olshanski
Yuri Olshanski has a child named Ivan Olshanski of Dubrovytsia
Yuri Olshanski
action filter_type
action find
entity Ivan Olshanski of Dubrovytsia
relation father
type common name
['Ivan Olshanski of Dubrovytsia', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ivan_Olshanski_of_Dubrovytsia property:father ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11494241
P7
Q502895
USER
Who have Ivan Olshanski of Dubrovytsia as their sibling ?
(c(Q502895),P7,Q11494241)
action filter_type
action find_reverse
entity Q11494241
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q11494241']
SELECT DISTINCT ?k WHERE { ?k property:P7 resource:Q11494241 . ?k rdf:type ontology:Q502895 }
Ivan Olshanski of Dubrovytsia
action filter_type
action find_reverse
entity Ivan Olshanski of Dubrovytsia
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Ivan Olshanski of Dubrovytsia']
SELECT DISTINCT ?k WHERE { ?k property:brother resource:Ivan_Olshanski_of_Dubrovytsia . ?k rdf:type ontology:common_name }
[]
common name
Q11495938 Q762725 Q3920692
SYSTEM
Saint Uliana Olshanky, Semeon Olshanski, Alexander Olshanski
Q11495938 Q762725 Q3920692
(c(Q502895),P7,Q11494241)
action filter_type
action find_reverse
entity Q11494241
relation P7
type Q502895
The saint Uliana Olshanky, Semeon Olshanski and Alexander Olshanski have Ivan Olshanski of Dubrovytsia as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q11494241']
SELECT DISTINCT ?k WHERE { ?k property:P7 resource:Q11494241 . ?k rdf:type ontology:Q502895 }
Saint Uliana Olshanky Semeon Olshanski Alexander Olshanski
The saint Uliana Olshanky, Semeon Olshanski and Alexander Olshanski have Ivan Olshanski of Dubrovytsia as their sibling
Saint Uliana Olshanky Semeon Olshanski Alexander Olshanski
action filter_type
action find_reverse
entity Ivan Olshanski of Dubrovytsia
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Ivan Olshanski of Dubrovytsia']
SELECT DISTINCT ?k WHERE { ?k property:brother resource:Ivan_Olshanski_of_Dubrovytsia . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11495938 Q762725 Q3920692
P40
Q502895
USER
Which people have those ones as a child ?
(c(Q502895),P40,Q11495938) (c(Q502895),P40,Q762725) (c(Q502895),P40,Q3920692)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q11495938'] [{'concept': 'Q502895'}, 'P40', 'Q762725'] [{'concept': 'Q502895'}, 'P40', 'Q3920692']
SELECT DISTINCT ?a WHERE { ?a property:P40 ?d . ?a rdf:type ontology:Q502895 . VALUES ( ?d ) { ( resource:Q11495938 ) ( resource:Q762725 ) ( resource:Q3920692 ) } }
Saint Uliana Olshanky Semeon Olshanski Alexander Olshanski
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Saint Uliana Olshanky'] [{'concept': 'common name'}, 'child', 'Semeon Olshanski'] [{'concept': 'common name'}, 'child', 'Alexander Olshanski']
SELECT DISTINCT ?a WHERE { ?a property:child ?d . ?a rdf:type ontology:common_name . VALUES ( ?d ) { ( resource:Saint_Uliana_Olshanky ) ( resource:Semeon_Olshanski ) ( resource:Alexander_Olshanski ) } }
[]
common name
Q3920677
SYSTEM
Yuri Olshanski
Q3920677
(c(Q502895),P40,Q11495938) (c(Q502895),P40,Q762725) (c(Q502895),P40,Q3920692)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWER] have those ones as a child
[{'concept': 'Q502895'}, 'P40', 'Q11495938'] [{'concept': 'Q502895'}, 'P40', 'Q762725'] [{'concept': 'Q502895'}, 'P40', 'Q3920692']
SELECT DISTINCT ?a WHERE { ?a property:P40 ?d . ?a rdf:type ontology:Q502895 . VALUES ( ?d ) { ( resource:Q11495938 ) ( resource:Q762725 ) ( resource:Q3920692 ) } }
Yuri Olshanski
Yuri Olshanski have those ones as a child
Yuri Olshanski
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Saint Uliana Olshanky'] [{'concept': 'common name'}, 'child', 'Semeon Olshanski'] [{'concept': 'common name'}, 'child', 'Alexander Olshanski']
SELECT DISTINCT ?a WHERE { ?a property:child ?d . ?a rdf:type ontology:common_name . VALUES ( ?d ) { ( resource:Saint_Uliana_Olshanky ) ( resource:Semeon_Olshanski ) ( resource:Alexander_Olshanski ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11494241
P53
Q8436
USER
Which family did Ivan Olshanski of Dubrovytsia belong to ?
(Q11494241,P53,c(Q8436))
action filter_type
action find
entity Q11494241
relation P53
type Q8436
['Q11494241', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?j WHERE { resource:Q11494241 property:P53 ?j . ?j rdf:type ontology:Q8436 }
Ivan Olshanski of Dubrovytsia
action filter_type
action find
entity Ivan Olshanski of Dubrovytsia
relation noble family
type family
['Ivan Olshanski of Dubrovytsia', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?j WHERE { resource:Ivan_Olshanski_of_Dubrovytsia property:noble_family ?j . ?j rdf:type ontology:family }
[]
family
Q1625166
SYSTEM
Olshanski
Q1625166
(Q11494241,P53,c(Q8436))
action filter_type
action find
entity Q11494241
relation P53
type Q8436
Ivan [ANSWER] of Dubrovytsia belonged to [ANSWER]
['Q11494241', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?j WHERE { resource:Q11494241 property:P53 ?j . ?j rdf:type ontology:Q8436 }
Olshanski
Ivan Olshanski of Dubrovytsia belonged to Olshanski
Olshanski
action filter_type
action find
entity Ivan Olshanski of Dubrovytsia
relation noble family
type family
['Ivan Olshanski of Dubrovytsia', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?j WHERE { resource:Ivan_Olshanski_of_Dubrovytsia property:noble_family ?j . ?j rdf:type ontology:family }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q762725
P27
Q15617994 Q7275
USER
How many administrative territories and states are Semeon Olshanski a civilian of ?
(Q762725,P27,c(Q15617994)) (Q762725,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q762725
relation P27
type Q15617994
action filter_type
action find
entity Q762725
relation P27
type Q7275
['Q762725', 'P27', {'concept': 'Q15617994'}] ['Q762725', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?e rdf:type ?q }
Semeon Olshanski
action count
action union
action filter_type
action find
entity Semeon Olshanski
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Semeon Olshanski
relation country of citizenship
type state
['Semeon Olshanski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Semeon Olshanski', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?e rdf:type ?q }
[]
designation for an administrative territorial entity state
SYSTEM
1 administrative territories and 1 states
Q36 Q49683
(Q762725,P27,c(Q15617994)) (Q762725,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q762725
relation P27
type Q15617994
action filter_type
action find
entity Q762725
relation P27
type Q7275
[ANSWER]
['Q762725', 'P27', {'concept': 'Q15617994'}] ['Q762725', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?e rdf:type ?q }
Poland Grand Duchy of Lithuania
1 administrative territories and 1 states
action count
action union
action filter_type
action find
entity Semeon Olshanski
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Semeon Olshanski
relation country of citizenship
type state
['Semeon Olshanski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Semeon Olshanski', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?e rdf:type ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q762725
P27
Q7275 Q15617994
USER
How many states and administrative territories are Semeon Olshanski an inhabitant of ?
(Q762725,P27,c(Q7275)) (Q762725,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q762725
relation P27
type Q7275
action filter_type
action find
entity Q762725
relation P27
type Q15617994
['Q762725', 'P27', {'concept': 'Q7275'}] ['Q762725', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ?t . VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
Semeon Olshanski
action count
action union
action filter_type
action find
entity Semeon Olshanski
relation country of citizenship
type state
action filter_type
action find
entity Semeon Olshanski
relation country of citizenship
type designation for an administrative territorial entity
['Semeon Olshanski', 'country of citizenship', {'concept': 'state'}] ['Semeon Olshanski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ?t . VALUES ( ?t ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
state designation for an administrative territorial entity
SYSTEM
1 states and 1 administrative territories
Q36 Q49683
(Q762725,P27,c(Q7275)) (Q762725,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q762725
relation P27
type Q7275
action filter_type
action find
entity Q762725
relation P27
type Q15617994
[ANSWER]
['Q762725', 'P27', {'concept': 'Q7275'}] ['Q762725', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ?t . VALUES ( ?t ) { ( ontology:Q7275 ) ( ontology:Q15617994 ) } }
Poland Grand Duchy of Lithuania
1 states and 1 administrative territories
action count
action union
action filter_type
action find
entity Semeon Olshanski
relation country of citizenship
type state
action filter_type
action find
entity Semeon Olshanski
relation country of citizenship
type designation for an administrative territorial entity
['Semeon Olshanski', 'country of citizenship', {'concept': 'state'}] ['Semeon Olshanski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { ?l rdf:type ?t . VALUES ( ?t ) { ( ontology:state ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q11495938
P9 P21
Q502895
USER
Which people had Saint Uliana Olshanky as their sibling and have the gender as male ?
AND((c(Q502895),P9,Q11495938), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q11495938
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q11495938'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P9 resource:Q11495938 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
male Saint Uliana Olshanky
action filter_type
action intersection
action find_reverse
entity Saint Uliana Olshanky
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Saint Uliana Olshanky'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:sister resource:Saint_Uliana_Olshanky . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]
common name
Q11494241 Q762725 Q3920692
SYSTEM
Ivan Olshanski of Dubrovytsia, Semeon Olshanski, Alexander Olshanski
Q11494241 Q762725 Q3920692
AND((c(Q502895),P9,Q11495938), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q11495938
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] had Saint Uliana Olshanky as their sibling and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q11495938'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P9 resource:Q11495938 . ?m property:P21 resource:Q6581097 . ?m rdf:type ontology:Q502895 }
Ivan Olshanski of Dubrovytsia Semeon Olshanski Alexander Olshanski
Ivan Olshanski of Dubrovytsia, Semeon Olshanski and Alexander Olshanski had Saint Uliana Olshanky as their sibling and have the gender as male
Ivan Olshanski of Dubrovytsia Semeon Olshanski Alexander Olshanski
action filter_type
action intersection
action find_reverse
entity Saint Uliana Olshanky
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Saint Uliana Olshanky'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:sister resource:Saint_Uliana_Olshanky . ?m property:gender resource:male . ?m rdf:type ontology:common_name }
[]