Simple Question (Direct)
Simple Question
Q40094
P190
Q56061
USER
Which administrative territory is sister town of Morbegno ?
(Q40094,P190,c(Q56061))
action filter_type
action find
entity Q40094
relation P190
type Q56061
['Q40094', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q40094 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Morbegno
action filter_type
action find
entity Morbegno
relation sister city
type administrative territorial entity
['Morbegno', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Morbegno property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1638504
SYSTEM
Llanberis
Q1638504
(Q40094,P190,c(Q56061))
action filter_type
action find
entity Q40094
relation P190
type Q56061
[ANSWER] is sister town of Morbegno
['Q40094', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q40094 property:P190 ?p . ?p rdf:type ontology:Q56061 }
Llanberis
Llanberis is sister town of Morbegno
Llanberis
action filter_type
action find
entity Morbegno
relation sister city
type administrative territorial entity
['Morbegno', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Morbegno property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40094
P47
Q15617994
USER
Who share the border with that one ?
(Q1638504,P47,c(Q15617994))
action filter_type
action find
entity Q40094
relation P47
type Q15617994
['Q1638504', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q40094 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Morbegno
action filter_type
action find
entity Morbegno
relation shares border with
type designation for an administrative territorial entity
['Llanberis', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Morbegno property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q40967 Q40951 Q41059
SYSTEM
Civo, Bema, Cosio Valtellino
Q40880 Q39447 Q40967 Q40951 Q39776 Q41059
(Q1638504,P47,c(Q15617994))
action filter_type
action find
entity Q40094
relation P47
type Q15617994
[ANSWERS] share the border with that one
['Q1638504', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q40094 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Talamona Traona Civo Bema Dazio Cosio Valtellino
Civo, Bema and Cosio Valtellino share the border with that one
Civo Bema Cosio Valtellino
action filter_type
action find
entity Morbegno
relation shares border with
type designation for an administrative territorial entity
['Llanberis', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Morbegno property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40094
P19
Q502895
USER
Which people were born at Morbegno ?
(c(Q502895),P19,Q40094)
action filter_type
action find_reverse
entity Q40094
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q40094']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q40094 }
Morbegno
action filter_type
action find_reverse
entity Morbegno
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Morbegno']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:Morbegno }
[]
common name
Q3884929 Q526454 Q3746471
SYSTEM
Orazio Rancati, Francesco Gavazzi, Flavio Del Barba
Q3769451 Q3771733 Q329592 Q3617061 Q986097 Q1235268 Q3778910 Q434085 Q3746471 Q3734437 Q3856680 Q18397499 Q3897131 Q526454 Q3893535 Q3944370 Q3884929 Q23308779 Q15144727 Q16482929 Q17285425 Q16039221 Q2741607 Q16560363 Q3736429 Q18223801
(c(Q502895),P19,Q40094)
action filter_type
action find_reverse
entity Q40094
relation P19
type Q502895
[ANSWERS] were born at Morbegno
[{'concept': 'Q502895'}, 'P19', 'Q40094']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P19 resource:Q40094 }
Giuliano Zuccoli Giustino Renato Orsini Feliciano Ninguarda Angelo Manzocchi Roberto Antonelli Sergio Lanza Guglielmo Felice Damiani Elena Curtoni Flavio Del Barba Eugenio Tarabini Michele Malaspina Enea Mattei Pasquale Saraceno Francesco Gavazzi Paola Cambiaghi Sabrina Paravicini Orazio Rancati Giuseppe Romegialli Mario Galbusera Tomás Ambrosetti Umberto Rognoni Mauro Del Barba Joseph Pace Gisella Passarelli Ezio Vanoni Andrea Livio
Orazio Rancati, Francesco Gavazzi and Flavio Del Barba were born at Morbegno
Orazio Rancati Francesco Gavazzi Flavio Del Barba
action filter_type
action find_reverse
entity Morbegno
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Morbegno']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:place_of_birth resource:Morbegno }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3746471
P21
Q290
USER
Which sex does that person belong to ?
(Q3746471,P21,c(Q290))
action filter_type
action find
entity Q3746471
relation P21
type Q290
['Q3746471', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q3746471 property:P21 ?y }
Flavio Del Barba
action filter_type
action find
entity Flavio Del Barba
relation gender
type sex
['Flavio Del Barba', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Flavio_Del_Barba property:gender ?y }
[]
sex
Clarification for simple ques.
Q3746471
SYSTEM
Did you mean Flavio Del Barba ?
Q3884929 Q526454 Q3746471
(Q3884929,P21,c(Q290)) (Q526454,P21,c(Q290)) (Q3746471,P21,c(Q290))
[ANSWER]
['Q3884929', 'P21', {'concept': 'Q290'}] ['Q526454', 'P21', {'concept': 'Q290'}] ['Q3746471', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q3746471 property:P21 ?y }
Orazio Rancati Francesco Gavazzi Flavio Del Barba
Did you mean Flavio Del Barba ?
Flavio Del Barba
['Orazio Rancati', 'gender', {'concept': 'sex'}] ['Francesco Gavazzi', 'gender', {'concept': 'sex'}] ['Flavio Del Barba', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Flavio_Del_Barba property:gender ?y }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3746471,P21,c(Q290))
['Q3746471', 'P21', {'concept': 'Q290'}]
['Flavio Del Barba', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q3746471,P21,c(Q290))
action filter_type
action find
entity Q3746471
relation P21
type Q290
That person belongs to [ANSWER]
['Q3746471', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q3746471 property:P21 ?y }
male
That person belongs to male
male
action filter_type
action find
entity Flavio Del Barba
relation gender
type sex
['Flavio Del Barba', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Flavio_Del_Barba property:gender ?y }
[]