Simple Question (Direct)
Simple Question
Q9398
P17
Q15617994
USER
Which administrative territory is Grugliasco present in ?
(Q9398,P17,c(Q15617994))
action filter_type
action find
entity Q9398
relation P17
type Q15617994
['Q9398', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q9398 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Grugliasco
action filter_type
action find
entity Grugliasco
relation country
type designation for an administrative territorial entity
['Grugliasco', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Grugliasco property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q9398,P17,c(Q15617994))
action filter_type
action find
entity Q9398
relation P17
type Q15617994
Grugliasco is in [ANSWER]
['Q9398', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q9398 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Italy
Grugliasco is in Italy
Italy
action filter_type
action find
entity Grugliasco
relation country
type designation for an administrative territorial entity
['Grugliasco', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Grugliasco property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9398
P190
Q56061
USER
Which administrative territory is a sister city of Grugliasco ?
(c(Q56061),P190,Q9398)
action filter_type
action find
entity Q9398
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q9398']
SELECT DISTINCT ?n WHERE { resource:Q9398 property:P190 ?n . ?n rdf:type ontology:Q56061 }
Grugliasco
action filter_type
action find
entity Grugliasco
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Grugliasco']
SELECT DISTINCT ?n WHERE { resource:Grugliasco property:sister_city ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1540219
SYSTEM
Gourcy
Q1540219
(c(Q56061),P190,Q9398)
action filter_type
action find
entity Q9398
relation P190
type Q56061
[ANSWER] is a sister city of Grugliasco
[{'concept': 'Q56061'}, 'P190', 'Q9398']
SELECT DISTINCT ?n WHERE { resource:Q9398 property:P190 ?n . ?n rdf:type ontology:Q56061 }
Gourcy
Gourcy is a sister city of Grugliasco
Gourcy
action filter_type
action find
entity Grugliasco
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Grugliasco']
SELECT DISTINCT ?n WHERE { resource:Grugliasco property:sister_city ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9398
P47
Q56061
USER
Who shares the border with Grugliasco ?
(Q9398,P47,c(Q56061))
action filter_type
action find
entity Q9398
relation P47
type Q56061
['Q9398', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q9398 property:P47 ?c . ?c rdf:type ontology:Q56061 }
Grugliasco
action filter_type
action find
entity Grugliasco
relation shares border with
type administrative territorial entity
['Grugliasco', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Grugliasco property:shares_border_with ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q495
SYSTEM
Turin
Q495
(Q9398,P47,c(Q56061))
action filter_type
action find
entity Q9398
relation P47
type Q56061
[ANSWER] shares the border with Grugliasco
['Q9398', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q9398 property:P47 ?c . ?c rdf:type ontology:Q56061 }
Turin
Turin shares the border with Grugliasco
Turin
action filter_type
action find
entity Grugliasco
relation shares border with
type administrative territorial entity
['Grugliasco', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Grugliasco property:shares_border_with ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q495
P6
Q502895
USER
What people are that administrative territory the head of goverment of ?
(Q495,P6,c(Q502895))
action filter_type
action find
entity Q495
relation P6
type Q502895
['Q495', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q495 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Turin
action filter_type
action find
entity Turin
relation head of government
type common name
['Turin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Turin property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
common name
Q1054714 Q24701812 Q542406
SYSTEM
Sergio Chiamparino, Chiara Appendino, Piero Fassino
Q4007740 Q1054714 Q24701812 Q3934507 Q542406
(Q495,P6,c(Q502895))
action filter_type
action find
entity Q495
relation P6
type Q502895
[ANSWERS] are that administrative territory the head of goverment of
['Q495', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q495 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Valentino Castellani Sergio Chiamparino Chiara Appendino Riccardo Malpica Piero Fassino
Sergio Chiamparino, Chiara Appendino and Piero Fassino are that administrative territory the head of goverment of
Sergio Chiamparino Chiara Appendino Piero Fassino
action filter_type
action find
entity Turin
relation head of government
type common name
['Turin', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Turin property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]