Simple Question (Direct)
Simple Question
Q3886012
P27
Q15617994
USER
Which administrative territory does Orlando Strinati belong to ?
(Q3886012,P27,c(Q15617994))
action filter_type
action find
entity Q3886012
relation P27
type Q15617994
['Q3886012', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3886012 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Orlando Strinati
action filter_type
action find
entity Orlando Strinati
relation country of citizenship
type designation for an administrative territorial entity
['Orlando Strinati', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Orlando_Strinati property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3886012,P27,c(Q15617994))
action filter_type
action find
entity Q3886012
relation P27
type Q15617994
Orlando Strinati belongs to [ANSWER]
['Q3886012', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3886012 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Italy
Orlando Strinati belongs to Italy
Italy
action filter_type
action find
entity Orlando Strinati
relation country of citizenship
type designation for an administrative territorial entity
['Orlando Strinati', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Orlando_Strinati property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3886012
P20
Q56061
USER
Where did that person expire ?
(Q38,P20,c(Q56061))
action filter_type
action find
entity Q3886012
relation P20
type Q56061
['Q38', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3886012 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Orlando Strinati
action filter_type
action find
entity Orlando Strinati
relation place of death
type administrative territorial entity
['Italy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Orlando_Strinati property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8621
SYSTEM
Terni
Q8621
(Q38,P20,c(Q56061))
action filter_type
action find
entity Q3886012
relation P20
type Q56061
That person expired in [ANSWER]
['Q38', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3886012 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Terni
That person expired in Terni
Terni
action filter_type
action find
entity Orlando Strinati
relation place of death
type administrative territorial entity
['Italy', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Orlando_Strinati property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories share border with that administrative territory ?
(Q8621,P47,c(Q15617994))
action count
action filter_type
action find
entity Q8621
relation P47
type Q15617994
['Q8621', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q8621 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Terni
relation shares border with
type designation for an administrative territorial entity
['Terni', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Terni property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q13396 Q20571 Q118085 Q224149
(Q8621,P47,c(Q15617994))
action count
action filter_type
action find
entity Q8621
relation P47
type Q15617994
[ANSWER]
['Q8621', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q8621 property:P47 ?j . ?j rdf:type ontology:Q15617994 }
Rieti Spoleto Colli sul Velino Labro
4
action count
action filter_type
action find
entity Terni
relation shares border with
type designation for an administrative territorial entity
['Terni', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Terni property:shares_border_with ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8621
P1376
Q15089
USER
Which province of Italy has Terni has its first city ?
(Q8621,P1376,c(Q15089))
action filter_type
action find
entity Q8621
relation P1376
type Q15089
['Q8621', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?f WHERE { resource:Q8621 property:P1376 ?f . ?f rdf:type ontology:Q15089 }
Terni
action filter_type
action find
entity Terni
relation capital of
type province of Italy
['Terni', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?f WHERE { resource:Terni property:capital_of ?f . ?f rdf:type ontology:province_of_Italy }
[]
province of Italy
Q16286
SYSTEM
Province of Terni
Q16286
(Q8621,P1376,c(Q15089))
action filter_type
action find
entity Q8621
relation P1376
type Q15089
[ANSWER] has Terni has its first city
['Q8621', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?f WHERE { resource:Q8621 property:P1376 ?f . ?f rdf:type ontology:Q15089 }
Province of Terni
Province of Terni has Terni has its first city
Province of Terni
action filter_type
action find
entity Terni
relation capital of
type province of Italy
['Terni', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?f WHERE { resource:Terni property:capital_of ?f . ?f rdf:type ontology:province_of_Italy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16286 Q38 Q15058941
P17
Q15617994
USER
Is Province of Terni present in Italy and Harker, Cumbria ?
(Q16286,P17,Q38) (Q16286,P17,Q15058941)
action is_in
entity Q16286
action intersection
action find_reverse
entity Q38
relation P17
action find_reverse
entity Q15058941
relation P17
['Q16286', 'P17', 'Q38'] ['Q16286', 'P17', 'Q15058941']
ASK WHERE { resource:Q16286 property:P17 resource:Q15058941 . resource:Q16286 property:P17 resource:Q38 }
Province of Terni Italy Harker, Cumbria
action is_in
entity Province of Terni
action intersection
action find_reverse
entity Italy
relation country
action find_reverse
entity Harker, Cumbria
relation country
['Province of Terni', 'country', 'Italy'] ['Province of Terni', 'country', 'Harker, Cumbria']
ASK WHERE { resource:Province_of_Terni property:country resource:Harker,_Cumbria . resource:Province_of_Terni property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q16286,P17,Q38) (Q16286,P17,Q15058941)
action is_in
entity Q16286
action intersection
action find_reverse
entity Q38
relation P17
action find_reverse
entity Q15058941
relation P17
[ANSWER]
['Q16286', 'P17', 'Q38'] ['Q16286', 'P17', 'Q15058941']
ASK WHERE { resource:Q16286 property:P17 resource:Q15058941 . resource:Q16286 property:P17 resource:Q38 }
YES and NO respectively
action is_in
entity Province of Terni
action intersection
action find_reverse
entity Italy
relation country
action find_reverse
entity Harker, Cumbria
relation country
['Province of Terni', 'country', 'Italy'] ['Province of Terni', 'country', 'Harker, Cumbria']
ASK WHERE { resource:Province_of_Terni property:country resource:Harker,_Cumbria . resource:Province_of_Terni property:country resource:Italy }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16286
P6
Q502895
USER
Which person has Province of Terni as its head of government ?
(Q16286,P6,c(Q502895))
action filter_type
action find
entity Q16286
relation P6
type Q502895
['Q16286', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q16286 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Province of Terni
action filter_type
action find
entity Province of Terni
relation head of government
type common name
['Province of Terni', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Province_of_Terni property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
Q3742260
SYSTEM
Feliciano Polli
Q3742260
(Q16286,P6,c(Q502895))
action filter_type
action find
entity Q16286
relation P6
type Q502895
[ANSWER] has Province of Terni as its head of government
['Q16286', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q16286 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Feliciano Polli
Feliciano Polli has Province of Terni as its head of government
Feliciano Polli
action filter_type
action find
entity Province of Terni
relation head of government
type common name
['Province of Terni', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Province_of_Terni property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]