Simple Question (Direct)
Simple Question
Q3771191
P937
Q56061
USER
What is the work location of Giuseppe Pernice ?
(Q3771191,P937,c(Q56061))
action filter_type
action find
entity Q3771191
relation P937
type Q56061
['Q3771191', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q3771191 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Giuseppe Pernice
action filter_type
action find
entity Giuseppe Pernice
relation work location
type administrative territorial entity
['Giuseppe Pernice', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Giuseppe_Pernice property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3771191,P937,c(Q56061))
action filter_type
action find
entity Q3771191
relation P937
type Q56061
The work location of Giuseppe Pernice is in [ANSWER]
['Q3771191', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q3771191 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Rome
The work location of Giuseppe Pernice is in Rome
Rome
action filter_type
action find
entity Giuseppe Pernice
relation work location
type administrative territorial entity
['Giuseppe Pernice', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Giuseppe_Pernice property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3771191
P19
Q15617994
USER
Which administrative territory was Giuseppe Pernice born at ?
(Q3771191,P19,c(Q15617994))
action filter_type
action find
entity Q3771191
relation P19
type Q15617994
['Q3771191', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3771191 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Giuseppe Pernice
action filter_type
action find
entity Giuseppe Pernice
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Pernice', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Giuseppe_Pernice property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q481730
SYSTEM
Mazara del Vallo
Q481730
(Q3771191,P19,c(Q15617994))
action filter_type
action find
entity Q3771191
relation P19
type Q15617994
Giuseppe Pernice was born in [ANSWER]
['Q3771191', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3771191 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Mazara del Vallo
Giuseppe Pernice was born in Mazara del Vallo
Mazara del Vallo
action filter_type
action find
entity Giuseppe Pernice
relation place of birth
type designation for an administrative territorial entity
['Giuseppe Pernice', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Giuseppe_Pernice property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q481730
P17
Q15617994
USER
Which administrative territory does that one belong to ?
(Q481730,P17,c(Q15617994))
action filter_type
action find
entity Q481730
relation P17
type Q15617994
['Q481730', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q481730 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Mazara del Vallo
action filter_type
action find
entity Mazara del Vallo
relation country
type designation for an administrative territorial entity
['Mazara del Vallo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Mazara_del_Vallo property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q481730,P17,c(Q15617994))
action filter_type
action find
entity Q481730
relation P17
type Q15617994
That one belongs to the [ANSWER]
['Q481730', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q481730 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Italy
That one belongs to the Italy
Italy
action filter_type
action find
entity Mazara del Vallo
relation country
type designation for an administrative territorial entity
['Mazara del Vallo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Mazara_del_Vallo property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q38 Q237
P47
Q56061
USER
Does Vatican City share border with Italy ?
(Q38,P47,Q237)
action is_in
entity Q237
action find
entity Q38
relation P47
['Q38', 'P47', 'Q237']
ASK WHERE { resource:Q38 property:P47 resource:Q237 }
Italy Vatican City
action is_in
entity Vatican City
action find
entity Italy
relation shares border with
['Italy', 'shares border with', 'Vatican City']
ASK WHERE { resource:Italy property:shares_border_with resource:Vatican_City }
[]
administrative territorial entity
SYSTEM
YES
(Q38,P47,Q237)
action is_in
entity Q237
action find
entity Q38
relation P47
[ANSWER]
['Q38', 'P47', 'Q237']
ASK WHERE { resource:Q38 property:P47 resource:Q237 }
Yes
action is_in
entity Vatican City
action find
entity Italy
relation shares border with
['Italy', 'shares border with', 'Vatican City']
ASK WHERE { resource:Italy property:shares_border_with resource:Vatican_City }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q481730 Q481791 Q481879
P47
Q56061
USER
Is Mazara del Vallo next to the border of Petrosino and Salemi ?
(Q481730,P47,Q481791) (Q481730,P47,Q481879)
action is_in
entity Q481730
action intersection
action find_reverse
entity Q481791
relation P47
action find_reverse
entity Q481879
relation P47
['Q481730', 'P47', 'Q481791'] ['Q481730', 'P47', 'Q481879']
ASK WHERE { resource:Q481730 property:P47 resource:Q481791 . resource:Q481730 property:P47 resource:Q481879 }
Mazara del Vallo Petrosino Salemi
action is_in
entity Mazara del Vallo
action intersection
action find_reverse
entity Petrosino
relation shares border with
action find_reverse
entity Salemi
relation shares border with
['Mazara del Vallo', 'shares border with', 'Petrosino'] ['Mazara del Vallo', 'shares border with', 'Salemi']
ASK WHERE { resource:Mazara_del_Vallo property:shares_border_with resource:Petrosino . resource:Mazara_del_Vallo property:shares_border_with resource:Salemi }
[]
administrative territorial entity
SYSTEM
YES
(Q481730,P47,Q481791) (Q481730,P47,Q481879)
action is_in
entity Q481730
action intersection
action find_reverse
entity Q481791
relation P47
action find_reverse
entity Q481879
relation P47
[ANSWER]
['Q481730', 'P47', 'Q481791'] ['Q481730', 'P47', 'Q481879']
ASK WHERE { resource:Q481730 property:P47 resource:Q481791 . resource:Q481730 property:P47 resource:Q481879 }
Yes
action is_in
entity Mazara del Vallo
action intersection
action find_reverse
entity Petrosino
relation shares border with
action find_reverse
entity Salemi
relation shares border with
['Mazara del Vallo', 'shares border with', 'Petrosino'] ['Mazara del Vallo', 'shares border with', 'Salemi']
ASK WHERE { resource:Mazara_del_Vallo property:shares_border_with resource:Petrosino . resource:Mazara_del_Vallo property:shares_border_with resource:Salemi }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q4018
P47
Q20667921
USER
How many french administrative divisions have an adjacent border with Italy or Navarre ?
(c(Q20667921),P47,Q38) (c(Q20667921),P47,Q4018)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q4018
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q38'] [{'concept': 'Q20667921'}, 'P47', 'Q4018']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P47 ?b . VALUES ( ?b ) { ( resource:Q38 ) ( resource:Q4018 ) } }
Italy Navarre
action count
action union
action filter_type
action find_reverse
entity Italy
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Navarre
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Italy'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Navarre']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:shares_border_with ?b . VALUES ( ?b ) { ( resource:Italy ) ( resource:Navarre ) } }
[]
type of french administrative division
SYSTEM
2
Q18678082 Q18338206
(c(Q20667921),P47,Q38) (c(Q20667921),P47,Q4018)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q4018
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q38'] [{'concept': 'Q20667921'}, 'P47', 'Q4018']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:P47 ?b . VALUES ( ?b ) { ( resource:Q38 ) ( resource:Q4018 ) } }
Nouvelle-Aquitaine Auvergne-Rhône-Alpes
2
action count
action union
action filter_type
action find_reverse
entity Italy
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Navarre
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Italy'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Navarre']
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { ?h property:shares_border_with ?b . VALUES ( ?b ) { ( resource:Italy ) ( resource:Navarre ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P1444
Q22348500
USER
Which cycling race class finishes the journey at Rome ?
(c(Q22348500),P1444,Q220)
action filter_type
action find_reverse
entity Q220
relation P1444
type Q22348500
[{'concept': 'Q22348500'}, 'P1444', 'Q220']
SELECT DISTINCT ?y WHERE { ?y property:P1444 resource:Q220 . ?y rdf:type ontology:Q22348500 }
Rome
action filter_type
action find_reverse
entity Rome
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Rome']
SELECT DISTINCT ?y WHERE { ?y property:destination_point resource:Rome . ?y rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q26208618
SYSTEM
2016 Gran Premio della Liberazione
Q26208618
(c(Q22348500),P1444,Q220)
action filter_type
action find_reverse
entity Q220
relation P1444
type Q22348500
[ANSWER] finishes the journey at Rome
[{'concept': 'Q22348500'}, 'P1444', 'Q220']
SELECT DISTINCT ?y WHERE { ?y property:P1444 resource:Q220 . ?y rdf:type ontology:Q22348500 }
2016 Gran Premio della Liberazione
2016 Gran Premio della Liberazione finishes the journey at Rome
2016 Gran Premio della Liberazione
action filter_type
action find_reverse
entity Rome
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Rome']
SELECT DISTINCT ?y WHERE { ?y property:destination_point resource:Rome . ?y rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26208618
P641
Q31629
USER
What did that cycling race class participate in ?
(Q26208618,P641,c(Q31629))
action filter_type
action find
entity Q26208618
relation P641
type Q31629
['Q26208618', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { resource:Q26208618 property:P641 ?t . ?t rdf:type ontology:Q31629 }
2016 Gran Premio della Liberazione
action filter_type
action find
entity 2016 Gran Premio della Liberazione
relation sport
type type of sport
['2016 Gran Premio della Liberazione', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { resource:2016_Gran_Premio_della_Liberazione property:sport ?t . ?t rdf:type ontology:type_of_sport }
[]
type of sport
Q3609
SYSTEM
road bicycle racing
Q3609
(Q26208618,P641,c(Q31629))
action filter_type
action find
entity Q26208618
relation P641
type Q31629
That cycling race class participated in [ANSWER]
['Q26208618', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?t WHERE { resource:Q26208618 property:P641 ?t . ?t rdf:type ontology:Q31629 }
road bicycle racing
That cycling race class participated in road bicycle racing
road bicycle racing
action filter_type
action find
entity 2016 Gran Premio della Liberazione
relation sport
type type of sport
['2016 Gran Premio della Liberazione', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?t WHERE { resource:2016_Gran_Premio_della_Liberazione property:sport ?t . ?t rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26208618
P1427
Q56061
USER
Which administrative territory is a start point of 2016 Gran Premio della Liberazione ?
(Q26208618,P1427,c(Q56061))
action filter_type
action find
entity Q26208618
relation P1427
type Q56061
['Q26208618', 'P1427', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q26208618 property:P1427 ?d . ?d rdf:type ontology:Q56061 }
2016 Gran Premio della Liberazione
action filter_type
action find
entity 2016 Gran Premio della Liberazione
relation start point
type administrative territorial entity
['2016 Gran Premio della Liberazione', 'start point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:2016_Gran_Premio_della_Liberazione property:start_point ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q26208618,P1427,c(Q56061))
action filter_type
action find
entity Q26208618
relation P1427
type Q56061
[ANSWER] is a start point of 2016 Gran Premio della Liberazione
['Q26208618', 'P1427', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q26208618 property:P1427 ?d . ?d rdf:type ontology:Q56061 }
Rome
Rome is a start point of 2016 Gran Premio della Liberazione
Rome
action filter_type
action find
entity 2016 Gran Premio della Liberazione
relation start point
type administrative territorial entity
['2016 Gran Premio della Liberazione', 'start point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:2016_Gran_Premio_della_Liberazione property:start_point ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q586915
Q56061
USER
And how about 1948 Tour de France?
(Q586915,P1427,c(Q56061))
action filter_type
action find
entity Q586915
relation P1427
type Q56061
['Q586915', 'P1427', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q586915 property:P1427 ?v . ?v rdf:type ontology:Q56061 }
1948 Tour de France
action filter_type
action find
entity 1948 Tour de France
relation start point
type administrative territorial entity
['1948 Tour de France', 'start point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:1948_Tour_de_France property:start_point ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q586915,P1427,c(Q56061))
action filter_type
action find
entity Q586915
relation P1427
type Q56061
[ANSWER]
['Q586915', 'P1427', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q586915 property:P1427 ?v . ?v rdf:type ontology:Q56061 }
Paris
Paris
action filter_type
action find
entity 1948 Tour de France
relation start point
type administrative territorial entity
['1948 Tour de France', 'start point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:1948_Tour_de_France property:start_point ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q90 Q431300
P17
Q15617994
USER
Is Paris situated in Campobello di Licata ?
(Q90,P17,Q431300)
action is_in
entity Q431300
action find
entity Q90
relation P17
['Q90', 'P17', 'Q431300']
ASK WHERE { resource:Q90 property:P17 resource:Q431300 }
Paris Campobello di Licata
action is_in
entity Campobello di Licata
action find
entity Paris
relation country
['Paris', 'country', 'Campobello di Licata']
ASK WHERE { resource:Paris property:country resource:Campobello_di_Licata }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q90,P17,Q431300)
action is_in
entity Q431300
action find
entity Q90
relation P17
[ANSWER]
['Q90', 'P17', 'Q431300']
ASK WHERE { resource:Q90 property:P17 resource:Q431300 }
No
action is_in
entity Campobello di Licata
action find
entity Paris
relation country
['Paris', 'country', 'Campobello di Licata']
ASK WHERE { resource:Paris property:country resource:Campobello_di_Licata }
[]