Simple Question (Direct)
Simple Question
Q1876222
P20
Q56061
USER
Where did Luigi Mengoni expire ?
(Q1876222,P20,c(Q56061))
action filter_type
action find
entity Q1876222
relation P20
type Q56061
['Q1876222', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q1876222 property:P20 ?t }
Luigi Mengoni
action filter_type
action find
entity Luigi Mengoni
relation place of death
type administrative territorial entity
['Luigi Mengoni', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Luigi_Mengoni property:place_of_death ?t }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q1876222,P20,c(Q56061))
action filter_type
action find
entity Q1876222
relation P20
type Q56061
Luigi Mengoni expired [ANSWER]
['Q1876222', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q1876222 property:P20 ?t }
Milan
Luigi Mengoni expired Milan
Milan
action filter_type
action find
entity Luigi Mengoni
relation place of death
type administrative territorial entity
['Luigi Mengoni', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Luigi_Mengoni property:place_of_death ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q490
P931
Q62447
USER
Which aerodromes serve the place named that administrative territory ?
(c(Q62447),P931,Q490)
action filter_type
action find_reverse
entity Q490
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q490']
SELECT DISTINCT ?m WHERE { ?m property:P931 resource:Q490 . ?m rdf:type ontology:Q62447 }
Milan
action filter_type
action find_reverse
entity Milan
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Milan']
SELECT DISTINCT ?m WHERE { ?m property:place_served_by_airport resource:Milan . ?m rdf:type ontology:aerodrome }
[]
aerodrome
Q1433718 Q828386
SYSTEM
Bresso Airport, Linate Airport
Q1433718 Q828386
(c(Q62447),P931,Q490)
action filter_type
action find_reverse
entity Q490
relation P931
type Q62447
[ANSWERS] serve the place named that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q490']
SELECT DISTINCT ?m WHERE { ?m property:P931 resource:Q490 . ?m rdf:type ontology:Q62447 }
Bresso Airport Linate Airport
Bresso Airport and Linate Airport serve the place named that administrative territory
Bresso Airport Linate Airport
action filter_type
action find_reverse
entity Milan
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Milan']
SELECT DISTINCT ?m WHERE { ?m property:place_served_by_airport resource:Milan . ?m rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1433718 Q828386
P17
Q15617994
USER
Which administrative territories do those aerodromes belong to ?
(Q1433718,P17,c(Q15617994)) (Q828386,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1433718', 'P17', {'concept': 'Q15617994'}] ['Q828386', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . ?a property:P17 ?e . VALUES ( ?a ) { ( resource:Q1433718 ) ( resource:Q828386 ) } }
Bresso Airport Linate Airport
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Bresso Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Linate Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country ?e . VALUES ( ?a ) { ( resource:Bresso_Airport ) ( resource:Linate_Airport ) } }
[]
designation for an administrative territorial entity
Q38 Q38
SYSTEM
Italy
Q38 Q38
(Q1433718,P17,c(Q15617994)) (Q828386,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those aerodromes belong to [ANSWER] and [ANSWER]
['Q1433718', 'P17', {'concept': 'Q15617994'}] ['Q828386', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . ?a property:P17 ?e . VALUES ( ?a ) { ( resource:Q1433718 ) ( resource:Q828386 ) } }
Italy Italy
Those aerodromes belong to Italy and Italy
Italy Italy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Bresso Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Linate Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country ?e . VALUES ( ?a ) { ( resource:Bresso_Airport ) ( resource:Linate_Airport ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q490
P6
Q502895
USER
Which people are the head of government of Milan ?
(Q490,P6,c(Q502895))
action filter_type
action find
entity Q490
relation P6
type Q502895
['Q490', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q490 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Milan
action filter_type
action find
entity Milan
relation head of government
type common name
['Milan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Milan property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q697597 Q666504 Q3659902
SYSTEM
Gabriele Albertini, Giuliano Pisapia, Carlo Tognoli
Q302754 Q2527720 Q697597 Q2249674 Q239024 Q17146774 Q3388096 Q666504 Q3609106 Q3619683 Q3659902 Q2427172 Q3762509
(Q490,P6,c(Q502895))
action filter_type
action find
entity Q490
relation P6
type Q502895
[ANSWERS] are the head of government of Milan
['Q490', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q490 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Gino Cassinis Virgilio Ferrari Gabriele Albertini Marco Formentini Letizia Moratti Giuseppe Sala Pietro Bucalossi Giuliano Pisapia Aldo Aniasi Antonio Greppi Carlo Tognoli Paolo Pillitteri Giampiero Borghini
Gabriele Albertini, Giuliano Pisapia and Carlo Tognoli are the head of government of Milan
Gabriele Albertini Giuliano Pisapia Carlo Tognoli
action filter_type
action find
entity Milan
relation head of government
type common name
['Milan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Milan property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q984673
Q502895
USER
And what about Viacamp y Litera?
(Q984673,P6,c(Q502895))
action filter_type
action find
entity Q984673
relation P6
type Q502895
['Q984673', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q984673 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Viacamp y Litera
action filter_type
action find
entity Viacamp y Litera
relation head of government
type common name
['Viacamp y Litera', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Viacamp_y_Litera property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
common name
Q14084985
SYSTEM
Alfredo Pociello Colomina
Q14084985
(Q984673,P6,c(Q502895))
action filter_type
action find
entity Q984673
relation P6
type Q502895
[ANSWER]
['Q984673', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q984673 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Alfredo Pociello Colomina
Alfredo Pociello Colomina
action filter_type
action find
entity Viacamp y Litera
relation head of government
type common name
['Viacamp y Litera', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Viacamp_y_Litera property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]