Simple Question (Direct)
Simple Question
Q3894360
P19
Q56061
USER
Which administrative territory was Paolo Petitti born at ?
(Q3894360,P19,c(Q56061))
action filter_type
action find
entity Q3894360
relation P19
type Q56061
['Q3894360', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3894360 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Paolo Petitti
action filter_type
action find
entity Paolo Petitti
relation place of birth
type administrative territorial entity
['Paolo Petitti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Paolo_Petitti property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13410
SYSTEM
Latina
Q13410
(Q3894360,P19,c(Q56061))
action filter_type
action find
entity Q3894360
relation P19
type Q56061
Paolo Petitti was born [ANSWER]
['Q3894360', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3894360 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Latina
Paolo Petitti was born Latina
Latina
action filter_type
action find
entity Paolo Petitti
relation place of birth
type administrative territorial entity
['Paolo Petitti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Paolo_Petitti property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13410
P47
Q15617994
USER
Which administrative territories have a shared border with that administrative territory ?
(Q13410,P47,c(Q15617994))
action filter_type
action find
entity Q13410
relation P47
type Q15617994
['Q13410', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q13410 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Latina
action filter_type
action find
entity Latina
relation shares border with
type designation for an administrative territorial entity
['Latina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Latina property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q128052 Q243116 Q128206
SYSTEM
Aprilia, Lazio, Nettuno, Sezze
Q243116 Q128202 Q128206 Q128165 Q128065 Q128052 Q128130
(Q13410,P47,c(Q15617994))
action filter_type
action find
entity Q13410
relation P47
type Q15617994
[ANSWERS] have a shared border with that administrative territory
['Q13410', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q13410 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Nettuno Sermoneta Sezze Sabaudia Cisterna di Latina Aprilia, Lazio Pontinia
Aprilia, Lazio, Nettuno and Sezze have a shared border with that administrative territory
Aprilia, Lazio Nettuno Sezze
action filter_type
action find
entity Latina
relation shares border with
type designation for an administrative territorial entity
['Latina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Latina property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q128206
P190
Q15617994
USER
Which administrative territory is twin city of that one ?
(Q128206,P190,c(Q15617994))
action filter_type
action find
entity Q128206
relation P190
type Q15617994
['Q128206', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q128206 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Sezze
action filter_type
action find
entity Sezze
relation sister city
type designation for an administrative territorial entity
['Sezze', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Sezze property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q128206
SYSTEM
Did you mean Sezze ?
Q128052 Q243116 Q128206
(Q128052,P190,c(Q15617994)) (Q243116,P190,c(Q15617994)) (Q128206,P190,c(Q15617994))
[ANSWER]
['Q128052', 'P190', {'concept': 'Q15617994'}] ['Q243116', 'P190', {'concept': 'Q15617994'}] ['Q128206', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q128206 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Aprilia, Lazio Nettuno Sezze
Did you mean Sezze ?
Sezze
['Aprilia, Lazio', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Nettuno', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Sezze', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Sezze property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q128206,P190,c(Q15617994))
['Q128206', 'P190', {'concept': 'Q15617994'}]
['Sezze', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
[]
Q55048
SYSTEM
Lioni
Q55048
(Q128206,P190,c(Q15617994))
action filter_type
action find
entity Q128206
relation P190
type Q15617994
[ANSWER] is twin city of that one
['Q128206', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q128206 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Lioni
Lioni is twin city of that one
Lioni
action filter_type
action find
entity Sezze
relation sister city
type designation for an administrative territorial entity
['Sezze', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Sezze property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q128206
P47
Q15617994
USER
How many administrative territories share the border with Sezze ?
(Q128206,P47,c(Q15617994))
action count
action filter_type
action find
entity Q128206
relation P47
type Q15617994
['Q128206', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q128206 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Sezze
action count
action filter_type
action find
entity Sezze
relation shares border with
type designation for an administrative territorial entity
['Sezze', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Sezze property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
6
Q128202 Q128139 Q128057 Q128161 Q242000 Q128130
(Q128206,P47,c(Q15617994))
action count
action filter_type
action find
entity Q128206
relation P47
type Q15617994
[ANSWER]
['Q128206', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Q128206 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Sermoneta Priverno Bassiano Roccagorga Carpineto Romano Pontinia
6
action count
action filter_type
action find
entity Sezze
relation shares border with
type designation for an administrative territorial entity
['Sezze', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { resource:Sezze property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1282
P47
Q15617994
USER
And how about Lazio?
(Q1282,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1282
relation P47
type Q15617994
['Q1282', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1282 property:P47 ?n }
Lazio
action count
action filter_type
action find
entity Lazio
relation shares border with
type designation for an administrative territorial entity
['Lazio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lazio property:shares_border_with ?n }
[]
designation for an administrative territorial entity
SYSTEM
6
Q1279 Q1443 Q1438 Q1273 Q1280 Q1284
(Q1282,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1282
relation P47
type Q15617994
[ANSWER]
['Q1282', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1282 property:P47 ?n }
Marche Molise Campania Tuscany Umbria Abruzzo
6
action count
action filter_type
action find
entity Lazio
relation shares border with
type designation for an administrative territorial entity
['Lazio', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lazio property:shares_border_with ?n }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q103443
Q15617994
USER
And how about Azzano Mella?
(Q103443,P47,c(Q15617994))
action count
action filter_type
action find
entity Q103443
relation P47
type Q15617994
['Q103443', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q103443 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
Azzano Mella
action count
action filter_type
action find
entity Azzano Mella
relation shares border with
type designation for an administrative territorial entity
['Azzano Mella', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Azzano_Mella property:shares_border_with ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
6
(Q103443,P47,c(Q15617994))
action count
action filter_type
action find
entity Q103443
relation P47
type Q15617994
[ANSWER]
['Q103443', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Q103443 property:P47 ?n . ?n rdf:type ontology:Q15617994 }
6
action count
action filter_type
action find
entity Azzano Mella
relation shares border with
type designation for an administrative territorial entity
['Azzano Mella', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { resource:Azzano_Mella property:shares_border_with ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q103443
P17
Q15617994
USER
Which administrative territory is that one situated in ?
action filter_type
action find
entity Q103443
relation P17
type Q15617994
SELECT DISTINCT ?v WHERE { resource:Q103443 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Azzano Mella
action filter_type
action find
entity Azzano Mella
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?v WHERE { resource:Azzano_Mella property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
action filter_type
action find
entity Q103443
relation P17
type Q15617994
That one is situated in [ANSWER]
SELECT DISTINCT ?v WHERE { resource:Q103443 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Italy
That one is situated in Italy
Italy
action filter_type
action find
entity Azzano Mella
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?v WHERE { resource:Azzano_Mella property:country ?v . ?v 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 Q60573 Q45
P530
Q15617994
USER
Does that administrative territory have diplomatic relations with Gaiberg and Portugal ?
(Q38,P530,Q60573) (Q38,P530,Q45)
action is_in
entity Q38
action intersection
action find_reverse
entity Q60573
relation P530
action find_reverse
entity Q45
relation P530
['Q38', 'P530', 'Q60573'] ['Q38', 'P530', 'Q45']
ASK WHERE { resource:Q38 property:P530 resource:Q60573 . resource:Q38 property:P530 resource:Q45 }
Italy Gaiberg Portugal
action is_in
entity Italy
action intersection
action find_reverse
entity Gaiberg
relation diplomatic relation
action find_reverse
entity Portugal
relation diplomatic relation
['Italy', 'diplomatic relation', 'Gaiberg'] ['Italy', 'diplomatic relation', 'Portugal']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Gaiberg . resource:Italy property:diplomatic_relation resource:Portugal }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q38,P530,Q60573) (Q38,P530,Q45)
action is_in
entity Q38
action intersection
action find_reverse
entity Q60573
relation P530
action find_reverse
entity Q45
relation P530
[ANSWER]
['Q38', 'P530', 'Q60573'] ['Q38', 'P530', 'Q45']
ASK WHERE { resource:Q38 property:P530 resource:Q60573 . resource:Q38 property:P530 resource:Q45 }
NO and YES respectively
action is_in
entity Italy
action intersection
action find_reverse
entity Gaiberg
relation diplomatic relation
action find_reverse
entity Portugal
relation diplomatic relation
['Italy', 'diplomatic relation', 'Gaiberg'] ['Italy', 'diplomatic relation', 'Portugal']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Gaiberg . resource:Italy property:diplomatic_relation resource:Portugal }
[]