Simple Question (Direct)
Simple Question
Q48107
P17
Q15617994
USER
Which administrative territory is Pescantina situated in ?
(Q48107,P17,c(Q15617994))
action filter_type
action find
entity Q48107
relation P17
type Q15617994
['Q48107', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q48107 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Pescantina
action filter_type
action find
entity Pescantina
relation country
type designation for an administrative territorial entity
['Pescantina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Pescantina property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q48107,P17,c(Q15617994))
action filter_type
action find
entity Q48107
relation P17
type Q15617994
Pescantina is situated in [ANSWER]
['Q48107', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q48107 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Italy
Pescantina is situated in Italy
Italy
action filter_type
action find
entity Pescantina
relation country
type designation for an administrative territorial entity
['Pescantina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Pescantina property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48107
P47
Q15617994
USER
Which administrative territories have a shared border with Pescantina ?
(Q48107,P47,c(Q15617994))
action filter_type
action find
entity Q48107
relation P47
type Q15617994
['Q48107', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q48107 property:P47 ?c }
Pescantina
action filter_type
action find
entity Pescantina
relation shares border with
type designation for an administrative territorial entity
['Pescantina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pescantina property:shares_border_with ?c }
[]
designation for an administrative territorial entity
Q47881 Q46765 Q55934
SYSTEM
San Pietro in Cariano, Bussolengo, Pastrengo
Q47881 Q46765 Q55934
(Q48107,P47,c(Q15617994))
action filter_type
action find
entity Q48107
relation P47
type Q15617994
[ANSWERS] have a shared border with Pescantina
['Q48107', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q48107 property:P47 ?c }
San Pietro in Cariano Bussolengo Pastrengo
San Pietro in Cariano, Bussolengo and Pastrengo have a shared border with Pescantina
San Pietro in Cariano Bussolengo Pastrengo
action filter_type
action find
entity Pescantina
relation shares border with
type designation for an administrative territorial entity
['Pescantina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pescantina property:shares_border_with ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q46765
P190
Q15617994
USER
Which administrative territory is sister town of that one ?
(Q46765,P190,c(Q15617994))
action filter_type
action find
entity Q46765
relation P190
type Q15617994
['Q46765', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q46765 property:P190 ?j . ?j rdf:type ontology:Q15617994 }
Bussolengo
action filter_type
action find
entity Bussolengo
relation sister city
type designation for an administrative territorial entity
['Bussolengo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Bussolengo property:sister_city ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q46765
SYSTEM
Did you mean Bussolengo ?
Q47881 Q46765 Q55934
(Q47881,P190,c(Q15617994)) (Q46765,P190,c(Q15617994)) (Q55934,P190,c(Q15617994))
[ANSWER]
['Q47881', 'P190', {'concept': 'Q15617994'}] ['Q46765', 'P190', {'concept': 'Q15617994'}] ['Q55934', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q46765 property:P190 ?j . ?j rdf:type ontology:Q15617994 }
San Pietro in Cariano Bussolengo Pastrengo
Did you mean Bussolengo ?
Bussolengo
['San Pietro in Cariano', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bussolengo', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Pastrengo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Bussolengo property:sister_city ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q46765,P190,c(Q15617994))
['Q46765', 'P190', {'concept': 'Q15617994'}]
['Bussolengo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
[]
Q552643
SYSTEM
Nieder-Olm
Q552643
(Q46765,P190,c(Q15617994))
action filter_type
action find
entity Q46765
relation P190
type Q15617994
[ANSWER] is sister town of that one
['Q46765', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q46765 property:P190 ?j . ?j rdf:type ontology:Q15617994 }
Nieder-Olm
Nieder-Olm is sister town of that one
Nieder-Olm
action filter_type
action find
entity Bussolengo
relation sister city
type designation for an administrative territorial entity
['Bussolengo', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Bussolengo property:sister_city ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q46765 Q4018
P47
Q15617994
USER
How many administrative territories are adjacent to Bussolengo or Navarre ?
(Q46765,P47,c(Q15617994)) (Q4018,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q46765
relation P47
type Q15617994
action filter_type
action find
entity Q4018
relation P47
type Q15617994
['Q46765', 'P47', {'concept': 'Q15617994'}] ['Q4018', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { resource:Q46765 property:P47 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q4018 property:P47 ?m . ?m rdf:type ontology:Q15617994 } }
Bussolengo Navarre
action count
action union
action filter_type
action find
entity Bussolengo
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Navarre
relation shares border with
type designation for an administrative territorial entity
['Bussolengo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Navarre', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { resource:Bussolengo property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Navarre property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
6
Q12703 Q48107 Q55934 Q46722 Q47520 Q46935
(Q46765,P47,c(Q15617994)) (Q4018,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q46765
relation P47
type Q15617994
action filter_type
action find
entity Q4018
relation P47
type Q15617994
[ANSWER]
['Q46765', 'P47', {'concept': 'Q15617994'}] ['Q4018', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { resource:Q46765 property:P47 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q4018 property:P47 ?m . ?m rdf:type ontology:Q15617994 } }
Pyrénées-Atlantiques Pescantina Pastrengo Castelnuovo del Garda Sona Lazise
6
action count
action union
action filter_type
action find
entity Bussolengo
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Navarre
relation shares border with
type designation for an administrative territorial entity
['Bussolengo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Navarre', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { { resource:Bussolengo property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Navarre property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q46765
P47
Q15617994 Q56061
USER
How many administrative territories and administrative territories share the border with Bussolengo ?
(Q46765,P47,c(Q15617994)) (Q46765,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q46765
relation P47
type Q15617994
action filter_type
action find
entity Q46765
relation P47
type Q56061
['Q46765', 'P47', {'concept': 'Q15617994'}] ['Q46765', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Bussolengo
action count
action union
action filter_type
action find
entity Bussolengo
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Bussolengo
relation shares border with
type administrative territorial entity
['Bussolengo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bussolengo', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
6
Q48107 Q55934 Q46722 Q47520 Q46935 Q2028
(Q46765,P47,c(Q15617994)) (Q46765,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q46765
relation P47
type Q15617994
action filter_type
action find
entity Q46765
relation P47
type Q56061
[ANSWER]
['Q46765', 'P47', {'concept': 'Q15617994'}] ['Q46765', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Pescantina Pastrengo Castelnuovo del Garda Sona Lazise Verona
6
action count
action union
action filter_type
action find
entity Bussolengo
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Bussolengo
relation shares border with
type administrative territorial entity
['Bussolengo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bussolengo', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ?g . VALUES ( ?g ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47881
P20
Q502895
USER
Which people have San Pietro in Cariano as the location of death ?
(c(Q502895),P20,Q47881)
action filter_type
action find_reverse
entity Q47881
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q47881']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P20 resource:Q47881 }
San Pietro in Cariano
action filter_type
action find_reverse
entity San Pietro in Cariano
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'San Pietro in Cariano']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:place_of_death resource:San_Pietro_in_Cariano }
[]
common name
Q3766433 Q4015300
SYSTEM
Giovanni Antonio Campostrini, Vittorio Betteloni
Q3766433 Q4015300
(c(Q502895),P20,Q47881)
action filter_type
action find_reverse
entity Q47881
relation P20
type Q502895
[ANSWERS] have San Pietro in Cariano as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q47881']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P20 resource:Q47881 }
Giovanni Antonio Campostrini Vittorio Betteloni
Giovanni Antonio Campostrini and Vittorio Betteloni have San Pietro in Cariano as the location of death
Giovanni Antonio Campostrini Vittorio Betteloni
action filter_type
action find_reverse
entity San Pietro in Cariano
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'San Pietro in Cariano']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:place_of_death resource:San_Pietro_in_Cariano }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3766433 Q4015300
P19
Q56061
USER
Which administrative territories were Giovanni Antonio Campostrini and Vittorio Betteloni born in ?
(Q3766433,P19,c(Q56061)) (Q4015300,P19,c(Q56061))
action union
action filter_type
action find
entity Q3766433
relation P19
type Q56061
action filter_type
action find
entity Q4015300
relation P19
type Q56061
['Q3766433', 'P19', {'concept': 'Q56061'}] ['Q4015300', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?v ) { ( resource:Q3766433 ) ( resource:Q4015300 ) } . ?v property:P19 ?c }
Giovanni Antonio Campostrini Vittorio Betteloni
action union
action filter_type
action find
entity Giovanni Antonio Campostrini
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Vittorio Betteloni
relation place of birth
type administrative territorial entity
['Giovanni Antonio Campostrini', 'place of birth', {'concept': 'administrative territorial entity'}] ['Vittorio Betteloni', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?v ) { ( resource:Giovanni_Antonio_Campostrini ) ( resource:Vittorio_Betteloni ) } . ?v property:place_of_birth ?c }
[]
administrative territorial entity
Q2028 Q2028
SYSTEM
Verona
Q2028 Q2028
(Q3766433,P19,c(Q56061)) (Q4015300,P19,c(Q56061))
action union
action filter_type
action find
entity Q3766433
relation P19
type Q56061
action filter_type
action find
entity Q4015300
relation P19
type Q56061
Giovanni Antonio Campostrini and Vittorio Betteloni were born in [ANSWER] and [ANSWER]
['Q3766433', 'P19', {'concept': 'Q56061'}] ['Q4015300', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?v ) { ( resource:Q3766433 ) ( resource:Q4015300 ) } . ?v property:P19 ?c }
Verona Verona
Giovanni Antonio Campostrini and Vittorio Betteloni were born in Verona and Verona
Verona Verona
action union
action filter_type
action find
entity Giovanni Antonio Campostrini
relation place of birth
type administrative territorial entity
action filter_type
action find
entity Vittorio Betteloni
relation place of birth
type administrative territorial entity
['Giovanni Antonio Campostrini', 'place of birth', {'concept': 'administrative territorial entity'}] ['Vittorio Betteloni', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?v ) { ( resource:Giovanni_Antonio_Campostrini ) ( resource:Vittorio_Betteloni ) } . ?v property:place_of_birth ?c }
[]