Simple Question (Direct)
Simple Question
Q741956
P20
Q56061
USER
Where did Domenico Bartolini expire ?
(Q741956,P20,c(Q56061))
action filter_type
action find
entity Q741956
relation P20
type Q56061
['Q741956', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q741956 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Domenico Bartolini
action filter_type
action find
entity Domenico Bartolini
relation place of death
type administrative territorial entity
['Domenico Bartolini', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Domenico_Bartolini property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q741956,P20,c(Q56061))
action filter_type
action find
entity Q741956
relation P20
type Q56061
Domenico Bartolini expired [ANSWER]
['Q741956', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q741956 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Florence
Domenico Bartolini expired Florence
Florence
action filter_type
action find
entity Domenico Bartolini
relation place of death
type administrative territorial entity
['Domenico Bartolini', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Domenico_Bartolini property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q741956
P140
Q879146
USER
What is the religion associated with Domenico Bartolini ?
(Q741956,P140,c(Q879146))
action filter_type
action find
entity Q741956
relation P140
type Q879146
['Q741956', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?w WHERE { resource:Q741956 property:P140 ?w . ?w rdf:type ontology:Q879146 }
Domenico Bartolini
action filter_type
action find
entity Domenico Bartolini
relation religion
type Christian denomination
['Domenico Bartolini', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?w WHERE { resource:Domenico_Bartolini property:religion ?w . ?w rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q741956,P140,c(Q879146))
action filter_type
action find
entity Q741956
relation P140
type Q879146
The religion associated with Domenico Bartolini is a [ANSWER]
['Q741956', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?w WHERE { resource:Q741956 property:P140 ?w . ?w rdf:type ontology:Q879146 }
Roman Catholic Church
The religion associated with Domenico Bartolini is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Domenico Bartolini
relation religion
type Christian denomination
['Domenico Bartolini', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?w WHERE { resource:Domenico_Bartolini property:religion ?w . ?w rdf:type ontology:Christian_denomination }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1250044
Q879146
USER
And how about Paolo Mosconi?
(Q1250044,P140,c(Q879146))
action filter_type
action find
entity Q1250044
relation P140
type Q879146
['Q1250044', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?e WHERE { resource:Q1250044 property:P140 ?e . ?e rdf:type ontology:Q879146 }
Paolo Mosconi
action filter_type
action find
entity Paolo Mosconi
relation religion
type Christian denomination
['Paolo Mosconi', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?e WHERE { resource:Paolo_Mosconi property:religion ?e . ?e rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1250044,P140,c(Q879146))
action filter_type
action find
entity Q1250044
relation P140
type Q879146
[ANSWER]
['Q1250044', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?e WHERE { resource:Q1250044 property:P140 ?e . ?e rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Paolo Mosconi
relation religion
type Christian denomination
['Paolo Mosconi', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?e WHERE { resource:Paolo_Mosconi property:religion ?e . ?e rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1250044
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q9592,P27,c(Q15617994))
action filter_type
action find
entity Q1250044
relation P27
type Q15617994
['Q9592', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1250044 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Paolo Mosconi
action filter_type
action find
entity Paolo Mosconi
relation country of citizenship
type designation for an administrative territorial entity
['Roman Catholic Church', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Paolo_Mosconi property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q9592,P27,c(Q15617994))
action filter_type
action find
entity Q1250044
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q9592', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1250044 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Italy
The Italy is that person an inhabitant of
Italy
action filter_type
action find
entity Paolo Mosconi
relation country of citizenship
type designation for an administrative territorial entity
['Roman Catholic Church', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Paolo_Mosconi property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1307030 Q1250044
P27 P495
Q15617994
USER
Which administrative territories are Paolo Mosconi an inhabitant of and did Yor, the Hunter from the Future originate ?
AND((Q1250044,P27,c(Q15617994)), (Q1307030,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1250044
relation P27
action find
entity Q1307030
relation P495
type Q15617994
{'AND': [['Q1250044', 'P27', {'concept': 'Q15617994'}], ['Q1307030', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q1250044 property:P27 ?x . resource:Q1307030 property:P495 ?x . ?x rdf:type ontology:Q15617994 }
Yor, the Hunter from the Future Paolo Mosconi
action filter_type
action intersection
action find
entity Paolo Mosconi
relation country of citizenship
action find
entity Yor, the Hunter from the Future
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Paolo Mosconi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yor, the Hunter from the Future', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Paolo_Mosconi property:country_of_citizenship ?x . resource:Yor,_the_Hunter_from_the_Future property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
AND((Q1250044,P27,c(Q15617994)), (Q1307030,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1250044
relation P27
action find
entity Q1307030
relation P495
type Q15617994
[ANSWER] is Paolo Mosconi an inhabitant of and did Yor, the Hunter from the Future originate
{'AND': [['Q1250044', 'P27', {'concept': 'Q15617994'}], ['Q1307030', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q1250044 property:P27 ?x . resource:Q1307030 property:P495 ?x . ?x rdf:type ontology:Q15617994 }
Italy
Italy is Paolo Mosconi an inhabitant of and did Yor, the Hunter from the Future originate
Italy
action filter_type
action intersection
action find
entity Paolo Mosconi
relation country of citizenship
action find
entity Yor, the Hunter from the Future
relation country of origin
type designation for an administrative territorial entity
{'AND': [['Paolo Mosconi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yor, the Hunter from the Future', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Paolo_Mosconi property:country_of_citizenship ?x . resource:Yor,_the_Hunter_from_the_Future property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q38 Q220 Q1649066
P36
Q56061
USER
Does that administrative territory have Rome and Matavun as its administrative centre ?
(Q38,P36,Q220) (Q38,P36,Q1649066)
action is_in
entity Q38
action intersection
action find_reverse
entity Q220
relation P36
action find_reverse
entity Q1649066
relation P36
['Q38', 'P36', 'Q220'] ['Q38', 'P36', 'Q1649066']
ASK WHERE { resource:Q38 property:P36 resource:Q220 . resource:Q38 property:P36 resource:Q1649066 }
Italy Rome Matavun
action is_in
entity Italy
action intersection
action find_reverse
entity Rome
relation capital
action find_reverse
entity Matavun
relation capital
['Italy', 'capital', 'Rome'] ['Italy', 'capital', 'Matavun']
ASK WHERE { resource:Italy property:capital resource:Rome . resource:Italy property:capital resource:Matavun }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q38,P36,Q220) (Q38,P36,Q1649066)
action is_in
entity Q38
action intersection
action find_reverse
entity Q220
relation P36
action find_reverse
entity Q1649066
relation P36
[ANSWER]
['Q38', 'P36', 'Q220'] ['Q38', 'P36', 'Q1649066']
ASK WHERE { resource:Q38 property:P36 resource:Q220 . resource:Q38 property:P36 resource:Q1649066 }
YES and NO respectively
action is_in
entity Italy
action intersection
action find_reverse
entity Rome
relation capital
action find_reverse
entity Matavun
relation capital
['Italy', 'capital', 'Rome'] ['Italy', 'capital', 'Matavun']
ASK WHERE { resource:Italy property:capital resource:Rome . resource:Italy property:capital resource:Matavun }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4281546 Q1250044
P19
Q15617994
USER
Which administrative territories were Paolo Mosconi or Jeana de Marion born ?
OR((Q1250044,P19,c(Q15617994)), (Q4281546,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q1250044
relation P19
action find
entity Q4281546
relation P19
type Q15617994
{'OR': [['Q1250044', 'P19', {'concept': 'Q15617994'}], ['Q4281546', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { { resource:Q4281546 property:P19 ?z } UNION { resource:Q1250044 property:P19 ?z } } }
Jeana de Marion Paolo Mosconi
action filter_type
action union
action find
entity Paolo Mosconi
relation place of birth
action find
entity Jeana de Marion
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Paolo Mosconi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Jeana de Marion', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Jeana_de_Marion property:place_of_birth ?z } UNION { resource:Paolo_Mosconi property:place_of_birth ?z } } }
[]
designation for an administrative territorial entity
Q142 Q40476
SYSTEM
France, Santa Giuletta
Q142 Q40476
OR((Q1250044,P19,c(Q15617994)), (Q4281546,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q1250044
relation P19
action find
entity Q4281546
relation P19
type Q15617994
Paolo Mosconi or Jeana de Marion were born in [ANSWERS]
{'OR': [['Q1250044', 'P19', {'concept': 'Q15617994'}], ['Q4281546', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { { resource:Q4281546 property:P19 ?z } UNION { resource:Q1250044 property:P19 ?z } } }
France Santa Giuletta
Paolo Mosconi or Jeana de Marion were born in France and Santa Giuletta
France Santa Giuletta
action filter_type
action union
action find
entity Paolo Mosconi
relation place of birth
action find
entity Jeana de Marion
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Paolo Mosconi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Jeana de Marion', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Jeana_de_Marion property:place_of_birth ?z } UNION { resource:Paolo_Mosconi property:place_of_birth ?z } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q40476
P47
Q15617994
USER
Which administrative territories are adjacent to those ones ?
(Q142,P47,c(Q15617994)) (Q40476,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q142', 'P47', {'concept': 'Q15617994'}] ['Q40476', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?z property:P47 ?m . VALUES ( ?z ) { ( resource:Q142 ) ( resource:Q40476 ) } . ?m rdf:type ontology:Q15617994 }
France Santa Giuletta
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Santa Giuletta', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?z property:shares_border_with ?m . VALUES ( ?z ) { ( resource:France ) ( resource:Santa_Giuletta ) } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q145
SYSTEM
Italy, Brazil, United Kingdom
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38 Q40332 Q39907 Q39736 Q40731 Q39880 Q40384 Q40225
(Q142,P47,c(Q15617994)) (Q40476,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] are adjacent to those ones
['Q142', 'P47', {'concept': 'Q15617994'}] ['Q40476', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?z property:P47 ?m . VALUES ( ?z ) { ( resource:Q142 ) ( resource:Q40476 ) } . ?m rdf:type ontology:Q15617994 }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy Pinarolo Po Mornico Losana Torricella Verzate Robecco Pavese Pietra de' Giorgi Barbianello Redavalle
Italy, Brazil and United Kingdom are adjacent to those ones
Italy Brazil United Kingdom
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Santa Giuletta', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?z property:shares_border_with ?m . VALUES ( ?z ) { ( resource:France ) ( resource:Santa_Giuletta ) } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]