Simple Question (Direct)
Simple Question
Q82876
P47
Q15617994
USER
Which administrative territories are bordered by Vaglia ?
(Q82876,P47,c(Q15617994))
action filter_type
action find
entity Q82876
relation P47
type Q15617994
['Q82876', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q82876 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Vaglia
action filter_type
action find
entity Vaglia
relation shares border with
type designation for an administrative territorial entity
['Vaglia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Vaglia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q82865 Q82635 Q82670
SYSTEM
Sesto Fiorentino, Calenzano, Fiesole
Q82670 Q82837 Q82865 Q15527609 Q82635
(Q82876,P47,c(Q15617994))
action filter_type
action find
entity Q82876
relation P47
type Q15617994
[ANSWERS] are bordered by Vaglia
['Q82876', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q82876 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Fiesole San Piero a Sieve Sesto Fiorentino Scarperia e San Piero Calenzano
Sesto Fiorentino, Calenzano and Fiesole are bordered by Vaglia
Sesto Fiorentino Calenzano Fiesole
action filter_type
action find
entity Vaglia
relation shares border with
type designation for an administrative territorial entity
['Vaglia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Vaglia property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q82865 Q82635 Q82670
P17
Q15617994
USER
Which administrative territories are those ones situated in ?
(Q82865,P17,c(Q15617994)) (Q82635,P17,c(Q15617994)) (Q82670,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q82865', 'P17', {'concept': 'Q15617994'}] ['Q82635', 'P17', {'concept': 'Q15617994'}] ['Q82670', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . ?f property:P17 ?i . VALUES ( ?f ) { ( resource:Q82670 ) ( resource:Q82837 ) ( resource:Q82865 ) } }
Sesto Fiorentino Calenzano Fiesole
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Sesto Fiorentino', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Calenzano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fiesole', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:country ?i . VALUES ( ?f ) { ( resource:Fiesole ) ( resource:San_Piero_a_Sieve ) ( resource:Sesto_Fiorentino ) } }
[]
designation for an administrative territorial entity
Q38 Q38 Q38
SYSTEM
Italy
Q38 Q38 Q38
(Q82865,P17,c(Q15617994)) (Q82635,P17,c(Q15617994)) (Q82670,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones are situated in [ANSWER], [ANSWER] and [ANSWER]
['Q82865', 'P17', {'concept': 'Q15617994'}] ['Q82635', 'P17', {'concept': 'Q15617994'}] ['Q82670', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . ?f property:P17 ?i . VALUES ( ?f ) { ( resource:Q82670 ) ( resource:Q82837 ) ( resource:Q82865 ) } }
Italy Italy Italy
Those ones are situated in Italy, Italy and Italy
Italy Italy Italy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Sesto Fiorentino', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Calenzano', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fiesole', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:country ?i . VALUES ( ?f ) { ( resource:Fiesole ) ( resource:San_Piero_a_Sieve ) ( resource:Sesto_Fiorentino ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P361
Q2221906
USER
What is Italy a component of ?
(Q38,P361,c(Q2221906))
action filter_type
action find
entity Q38
relation P361
type Q2221906
['Q38', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q38 property:P361 ?f . ?f rdf:type ontology:Q2221906 }
Italy
action filter_type
action find
entity Italy
relation part of
type geographic location
['Italy', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Italy property:part_of ?f . ?f rdf:type ontology:geographic_location }
[]
geographic location
Q27449
SYSTEM
Southern Europe
Q27449
(Q38,P361,c(Q2221906))
action filter_type
action find
entity Q38
relation P361
type Q2221906
Italy is a component of [ANSWER]
['Q38', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q38 property:P361 ?f . ?f rdf:type ontology:Q2221906 }
Southern Europe
Italy is a component of Southern Europe
Southern Europe
action filter_type
action find
entity Italy
relation part of
type geographic location
['Italy', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Italy property:part_of ?f . ?f rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q37736
Q2221906
USER
And how about North Caucasus?
(Q37736,P361,c(Q2221906))
action filter_type
action find
entity Q37736
relation P361
type Q2221906
['Q37736', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q37736 property:P361 ?y . ?y rdf:type ontology:Q2221906 }
North Caucasus
action filter_type
action find
entity North Caucasus
relation part of
type geographic location
['North Caucasus', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:North_Caucasus property:part_of ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q14324291 Q27468 Q875134
SYSTEM
South European Russia, Eastern Europe, European Russia
Q14324291 Q27468 Q875134
(Q37736,P361,c(Q2221906))
action filter_type
action find
entity Q37736
relation P361
type Q2221906
[ANSWERS]
['Q37736', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q37736 property:P361 ?y . ?y rdf:type ontology:Q2221906 }
South European Russia Eastern Europe European Russia
South European Russia Eastern Europe European Russia
action filter_type
action find
entity North Caucasus
relation part of
type geographic location
['North Caucasus', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:North_Caucasus property:part_of ?y . ?y rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q37736
P361
Q14524493
USER
Are North Caucasus a portion of those geographic locations ?
(Q37736,P361,Q14324291) (Q37736,P361,Q27468) (Q37736,P361,Q875134)
action is_in
entity prev_answer
action find
entity Q37736
relation P361
['Q37736', 'P361', 'Q14324291'] ['Q37736', 'P361', 'Q27468'] ['Q37736', 'P361', 'Q875134']
ASK WHERE { VALUES ( ?b ) { ( resource:Q14324291 ) ( resource:Q27468 ) ( resource:Q875134 ) } . resource:Q37736 property:P361 ?b }
North Caucasus
action is_in
entity prev_answer
action find
entity North Caucasus
relation part of
['North Caucasus', 'part of', 'South European Russia'] ['North Caucasus', 'part of', 'Eastern Europe'] ['North Caucasus', 'part of', 'European Russia']
ASK WHERE { VALUES ( ?b ) { ( resource:South_European_Russia ) ( resource:Eastern_Europe ) ( resource:European_Russia ) } . resource:North_Caucasus property:part_of ?b }
[]
terrain
SYSTEM
YES
(Q37736,P361,Q14324291) (Q37736,P361,Q27468) (Q37736,P361,Q875134)
action is_in
entity prev_answer
action find
entity Q37736
relation P361
[ANSWER]
['Q37736', 'P361', 'Q14324291'] ['Q37736', 'P361', 'Q27468'] ['Q37736', 'P361', 'Q875134']
ASK WHERE { VALUES ( ?b ) { ( resource:Q14324291 ) ( resource:Q27468 ) ( resource:Q875134 ) } . resource:Q37736 property:P361 ?b }
Yes
action is_in
entity prev_answer
action find
entity North Caucasus
relation part of
['North Caucasus', 'part of', 'South European Russia'] ['North Caucasus', 'part of', 'Eastern Europe'] ['North Caucasus', 'part of', 'European Russia']
ASK WHERE { VALUES ( ?b ) { ( resource:South_European_Russia ) ( resource:Eastern_Europe ) ( resource:European_Russia ) } . resource:North_Caucasus property:part_of ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q27449 Q46
P706
Q2221906
USER
Is Southern Europe located on Europe ?
(Q27449,P706,Q46)
action is_in
entity Q46
action find
entity Q27449
relation P706
['Q27449', 'P706', 'Q46']
ASK WHERE { resource:Q27449 property:P706 resource:Q46 }
Southern Europe Europe
action is_in
entity Europe
action find
entity Southern Europe
relation located on terrain feature
['Southern Europe', 'located on terrain feature', 'Europe']
ASK WHERE { resource:Southern_Europe property:located_on_terrain_feature resource:Europe }
[]
geographic location
SYSTEM
YES
(Q27449,P706,Q46)
action is_in
entity Q46
action find
entity Q27449
relation P706
[ANSWER]
['Q27449', 'P706', 'Q46']
ASK WHERE { resource:Q27449 property:P706 resource:Q46 }
Yes
action is_in
entity Europe
action find
entity Southern Europe
relation located on terrain feature
['Southern Europe', 'located on terrain feature', 'Europe']
ASK WHERE { resource:Southern_Europe property:located_on_terrain_feature resource:Europe }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q82865 Q47837 Q2323976
P190
Q56061
USER
Is Sesto Fiorentino sister town of El Aaiún and Churchstow ?
(Q82865,P190,Q47837) (Q82865,P190,Q2323976)
action is_in
entity Q82865
action intersection
action find_reverse
entity Q47837
relation P190
action find_reverse
entity Q2323976
relation P190
['Q82865', 'P190', 'Q47837'] ['Q82865', 'P190', 'Q2323976']
ASK WHERE { resource:Q82865 property:P190 resource:Q47837 . resource:Q82865 property:P190 resource:Q2323976 }
Sesto Fiorentino El Aaiún Churchstow
action is_in
entity Sesto Fiorentino
action intersection
action find_reverse
entity El Aaiún
relation sister city
action find_reverse
entity Churchstow
relation sister city
['Sesto Fiorentino', 'sister city', 'El Aaiún'] ['Sesto Fiorentino', 'sister city', 'Churchstow']
ASK WHERE { resource:Sesto_Fiorentino property:sister_city resource:El_Aaiún . resource:Sesto_Fiorentino property:sister_city resource:Churchstow }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q82865,P190,Q47837) (Q82865,P190,Q2323976)
action is_in
entity Q82865
action intersection
action find_reverse
entity Q47837
relation P190
action find_reverse
entity Q2323976
relation P190
[ANSWER]
['Q82865', 'P190', 'Q47837'] ['Q82865', 'P190', 'Q2323976']
ASK WHERE { resource:Q82865 property:P190 resource:Q47837 . resource:Q82865 property:P190 resource:Q2323976 }
YES and NO respectively
action is_in
entity Sesto Fiorentino
action intersection
action find_reverse
entity El Aaiún
relation sister city
action find_reverse
entity Churchstow
relation sister city
['Sesto Fiorentino', 'sister city', 'El Aaiún'] ['Sesto Fiorentino', 'sister city', 'Churchstow']
ASK WHERE { resource:Sesto_Fiorentino property:sister_city resource:El_Aaiún . resource:Sesto_Fiorentino property:sister_city resource:Churchstow }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P30
Q2221906
USER
Where is Italy located ?
(Q38,P30,c(Q2221906))
action filter_type
action find
entity Q38
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q38 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Italy
action filter_type
action find
entity Italy
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:Italy property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q38,P30,c(Q2221906))
action filter_type
action find
entity Q38
relation P30
type Q2221906
Italy is located in [ANSWER]
['Q38', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { resource:Q38 property:P30 ?d . ?d rdf:type ontology:Q2221906 }
Europe
Italy is located in Europe
Europe
action filter_type
action find
entity Italy
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { resource:Italy property:continent ?d . ?d rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1145730
Q2221906
USER
And what about Rognosa d'Etiache?
(Q1145730,P30,c(Q2221906))
action filter_type
action find
entity Q1145730
relation P30
type Q2221906
['Q1145730', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1145730 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Rognosa d'Etiache
action filter_type
action find
entity Rognosa d'Etiache
relation continent
type geographic location
["Rognosa d'Etiache", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Rognosa_d'Etiache property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q1145730,P30,c(Q2221906))
action filter_type
action find
entity Q1145730
relation P30
type Q2221906
[ANSWER]
['Q1145730', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1145730 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe
Europe
action filter_type
action find
entity Rognosa d'Etiache
relation continent
type geographic location
["Rognosa d'Etiache", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Rognosa_d'Etiache property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5796056 Q14324291
P17
Q15617994
USER
Which administrative territories are South European Russia or Poneh Badi a part of ?
OR((Q14324291,P17,c(Q15617994)), (Q5796056,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q14324291
relation P17
action find
entity Q5796056
relation P17
type Q15617994
{'OR': [['Q14324291', 'P17', {'concept': 'Q15617994'}], ['Q5796056', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q14324291 property:P17 ?r } UNION { resource:Q5796056 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Poneh Badi South European Russia
action filter_type
action union
action find
entity South European Russia
relation country
action find
entity Poneh Badi
relation country
type designation for an administrative territorial entity
{'OR': [['South European Russia', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Poneh Badi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:South_European_Russia property:country ?r } UNION { resource:Poneh_Badi property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q794
SYSTEM
Russia, Iran
Q159 Q794
OR((Q14324291,P17,c(Q15617994)), (Q5796056,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q14324291
relation P17
action find
entity Q5796056
relation P17
type Q15617994
[ANSWERS] are South European Russia or Poneh Badi a part of
{'OR': [['Q14324291', 'P17', {'concept': 'Q15617994'}], ['Q5796056', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q14324291 property:P17 ?r } UNION { resource:Q5796056 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Russia Iran
Russia and Iran are South European Russia or Poneh Badi a part of
Russia Iran
action filter_type
action union
action find
entity South European Russia
relation country
action find
entity Poneh Badi
relation country
type designation for an administrative territorial entity
{'OR': [['South European Russia', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Poneh Badi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:South_European_Russia property:country ?r } UNION { resource:Poneh_Badi property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q159
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Russia ?
(Q159,P530,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
['Q159', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q159 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
Russia
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Russia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
19
Q805 Q801 Q241 Q668 Q414 Q142 Q148 Q17 Q30 Q79 Q38 Q711 Q717 Q1011 Q403 Q43 Q155 Q953 Q881
(Q159,P530,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[ANSWER]
['Q159', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q159 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
Yemen Israel Cuba India Argentina France People's Republic of China Japan United States of America Egypt Italy Mongolia Venezuela Cape Verde Serbia Turkey Brazil Zambia Vietnam
19
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Russia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q796
P530
Q15617994
USER
And what about Iraq?
(Q796,P530,c(Q15617994))
action count
action filter_type
action find
entity Q796
relation P530
type Q15617994
['Q796', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q796 property:P530 ?n . ?n rdf:type ontology:Q15617994 }
Iraq
action count
action filter_type
action find
entity Iraq
relation diplomatic relation
type designation for an administrative territorial entity
['Iraq', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Iraq property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q805 Q155 Q30 Q38
(Q796,P530,c(Q15617994))
action count
action filter_type
action find
entity Q796
relation P530
type Q15617994
[ANSWER]
['Q796', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Q796 property:P530 ?n . ?n rdf:type ontology:Q15617994 }
Yemen Brazil United States of America Italy
4
action count
action filter_type
action find
entity Iraq
relation diplomatic relation
type designation for an administrative territorial entity
['Iraq', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { resource:Iraq property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]