Simple Question (Direct)
Simple Question
Q2350272
P22
Q502895
USER
Which male person was the parent of Mstislav of Chernigov ?
(Q2350272,P22,c(Q502895))
action filter_type
action find
entity Q2350272
relation P22
type Q502895
['Q2350272', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2350272 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Mstislav of Chernigov
action filter_type
action find
entity Mstislav of Chernigov
relation father
type common name
['Mstislav of Chernigov', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Mstislav_of_Chernigov property:father ?u . ?u rdf:type ontology:common_name }
[]
common name
Q14974
SYSTEM
Vladimir the Great
Q14974
(Q2350272,P22,c(Q502895))
action filter_type
action find
entity Q2350272
relation P22
type Q502895
[ANSWER] was the parent of Mstislav of Chernigov
['Q2350272', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2350272 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Vladimir the Great
Vladimir the Great was the parent of Mstislav of Chernigov
Vladimir the Great
action filter_type
action find
entity Mstislav of Chernigov
relation father
type common name
['Mstislav of Chernigov', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Mstislav_of_Chernigov property:father ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14974
P140
Q874405
USER
Which social group is the religion of that person ?
(Q14974,P140,c(Q874405))
action filter_type
action find
entity Q14974
relation P140
type Q874405
['Q14974', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { resource:Q14974 property:P140 ?x . ?x rdf:type ontology:Q874405 }
Vladimir the Great
action filter_type
action find
entity Vladimir the Great
relation religion
type social group
['Vladimir the Great', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { resource:Vladimir_the_Great property:religion ?x . ?x rdf:type ontology:social_group }
[]
social group
Q5043
SYSTEM
Christianity
Q5043
(Q14974,P140,c(Q874405))
action filter_type
action find
entity Q14974
relation P140
type Q874405
[ANSWER] is the religion of that person
['Q14974', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { resource:Q14974 property:P140 ?x . ?x rdf:type ontology:Q874405 }
Christianity
Christianity is the religion of that person
Christianity
action filter_type
action find
entity Vladimir the Great
relation religion
type social group
['Vladimir the Great', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { resource:Vladimir_the_Great property:religion ?x . ?x rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q109509
Q874405
USER
And what about Peter Michael Brillmacher?
(Q109509,P140,c(Q874405))
action filter_type
action find
entity Q109509
relation P140
type Q874405
['Q109509', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q109509 property:P140 ?w . ?w rdf:type ontology:Q874405 }
Peter Michael Brillmacher
action filter_type
action find
entity Peter Michael Brillmacher
relation religion
type social group
['Peter Michael Brillmacher', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Michael_Brillmacher property:religion ?w . ?w rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q109509,P140,c(Q874405))
action filter_type
action find
entity Q109509
relation P140
type Q874405
[ANSWER]
['Q109509', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q109509 property:P140 ?w . ?w rdf:type ontology:Q874405 }
Catholicism
Catholicism
action filter_type
action find
entity Peter Michael Brillmacher
relation religion
type social group
['Peter Michael Brillmacher', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:Peter_Michael_Brillmacher property:religion ?w . ?w rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1841 Q790318
P140
Q502895
USER
Does Barbro Kollberg belong to that social group religion ?
(Q790318,P140,Q1841)
action is_in
entity Q790318
action find
entity Q1841
relation P140
['Q790318', 'P140', 'Q1841']
ASK WHERE { resource:Q1841 property:P140 resource:Q790318 }
Catholicism Barbro Kollberg
action is_in
entity Barbro Kollberg
action find
entity Catholicism
relation religion
['Barbro Kollberg', 'religion', 'Catholicism']
ASK WHERE { resource:Catholicism property:religion resource:Barbro_Kollberg }
[]
common name
SYSTEM
NO
(Q790318,P140,Q1841)
action is_in
entity Q790318
action find
entity Q1841
relation P140
[ANSWER]
['Q790318', 'P140', 'Q1841']
ASK WHERE { resource:Q1841 property:P140 resource:Q790318 }
No
action is_in
entity Barbro Kollberg
action find
entity Catholicism
relation religion
['Barbro Kollberg', 'religion', 'Catholicism']
ASK WHERE { resource:Catholicism property:religion resource:Barbro_Kollberg }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5043 Q2613498 Q1218
P740
Q56061
USER
Was Christianity formed at Holme Hale and Jerusalem ?
(Q5043,P740,Q2613498) (Q5043,P740,Q1218)
action is_in
entity Q5043
action intersection
action find_reverse
entity Q2613498
relation P740
action find_reverse
entity Q1218
relation P740
['Q5043', 'P740', 'Q2613498'] ['Q5043', 'P740', 'Q1218']
ASK WHERE { resource:Q5043 property:P740 resource:Q2613498 . resource:Q5043 property:P740 resource:Q1218 }
Christianity Holme Hale Jerusalem
action is_in
entity Christianity
action intersection
action find_reverse
entity Holme Hale
relation location of formation
action find_reverse
entity Jerusalem
relation location of formation
['Christianity', 'location of formation', 'Holme Hale'] ['Christianity', 'location of formation', 'Jerusalem']
ASK WHERE { resource:Christianity property:location_of_formation resource:Holme_Hale . resource:Christianity property:location_of_formation resource:Jerusalem }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q5043,P740,Q2613498) (Q5043,P740,Q1218)
action is_in
entity Q5043
action intersection
action find_reverse
entity Q2613498
relation P740
action find_reverse
entity Q1218
relation P740
[ANSWER]
['Q5043', 'P740', 'Q2613498'] ['Q5043', 'P740', 'Q1218']
ASK WHERE { resource:Q5043 property:P740 resource:Q2613498 . resource:Q5043 property:P740 resource:Q1218 }
NO and YES respectively
action is_in
entity Christianity
action intersection
action find_reverse
entity Holme Hale
relation location of formation
action find_reverse
entity Jerusalem
relation location of formation
['Christianity', 'location of formation', 'Holme Hale'] ['Christianity', 'location of formation', 'Jerusalem']
ASK WHERE { resource:Christianity property:location_of_formation resource:Holme_Hale . resource:Christianity property:location_of_formation resource:Jerusalem }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2707546 Q790318
P27 P17
Q15617994
USER
Which administrative territories are Barbro Kollberg an inhabitant of or are Hénon a part of ?
OR((Q790318,P27,c(Q15617994)), (Q2707546,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q790318
relation P27
action find
entity Q2707546
relation P17
type Q15617994
{'OR': [['Q790318', 'P27', {'concept': 'Q15617994'}], ['Q2707546', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q790318 property:P27 ?c } UNION { resource:Q2707546 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Hénon Barbro Kollberg
action filter_type
action union
action find
entity Barbro Kollberg
relation country of citizenship
action find
entity Hénon
relation country
type designation for an administrative territorial entity
{'OR': [['Barbro Kollberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hénon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Barbro_Kollberg property:country_of_citizenship ?c } UNION { resource:Hénon property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q34
SYSTEM
France, Sweden
Q142 Q34
OR((Q790318,P27,c(Q15617994)), (Q2707546,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q790318
relation P27
action find
entity Q2707546
relation P17
type Q15617994
[ANSWERS] are Barbro Kollberg an inhabitant of or are Hénon a part of
{'OR': [['Q790318', 'P27', {'concept': 'Q15617994'}], ['Q2707546', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q790318 property:P27 ?c } UNION { resource:Q2707546 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
France Sweden
France and Sweden are Barbro Kollberg an inhabitant of or are Hénon a part of
France Sweden
action filter_type
action union
action find
entity Barbro Kollberg
relation country of citizenship
action find
entity Hénon
relation country
type designation for an administrative territorial entity
{'OR': [['Barbro Kollberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hénon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Barbro_Kollberg property:country_of_citizenship ?c } UNION { resource:Hénon property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2707546
P197
Q55488
USER
Which railway stations are adjacent to that one ?
(Q142,P197,c(Q55488)) (Q34,P197,c(Q55488))
action filter_type
action find
entity Q2707546
relation P197
type Q55488
['Q142', 'P197', {'concept': 'Q55488'}] ['Q34', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?r WHERE { resource:Q2707546 property:P197 ?r . ?r rdf:type ontology:Q55488 }
Hénon
action filter_type
action find
entity Hénon
relation adjacent station
type railway station
['France', 'adjacent station', {'concept': 'railway station'}] ['Sweden', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?r WHERE { resource:Hénon property:adjacent_station ?r . ?r rdf:type ontology:railway_station }
[]
railway station
Q2785196 Q2099187
SYSTEM
Croix-Rousse, Cuire
Q2785196 Q2099187
(Q142,P197,c(Q55488)) (Q34,P197,c(Q55488))
action filter_type
action find
entity Q2707546
relation P197
type Q55488
[ANSWERS] are adjacent to that one
['Q142', 'P197', {'concept': 'Q55488'}] ['Q34', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?r WHERE { resource:Q2707546 property:P197 ?r . ?r rdf:type ontology:Q55488 }
Croix-Rousse Cuire
Croix-Rousse and Cuire are adjacent to that one
Croix-Rousse Cuire
action filter_type
action find
entity Hénon
relation adjacent station
type railway station
['France', 'adjacent station', {'concept': 'railway station'}] ['Sweden', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?r WHERE { resource:Hénon property:adjacent_station ?r . ?r rdf:type ontology:railway_station }
[]