Simple Question (Direct)
Simple Question
Q2160198
P39
Q12737077
USER
What were the positions for which Rocco Talucci were appointed ?
(Q2160198,P39,c(Q12737077))
action filter_type
action find
entity Q2160198
relation P39
type Q12737077
['Q2160198', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2160198 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Rocco Talucci
action filter_type
action find
entity Rocco Talucci
relation position held
type occupation
['Rocco Talucci', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Rocco_Talucci property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q29182 Q49476
SYSTEM
bishop, archbishop
Q29182 Q49476
(Q2160198,P39,c(Q12737077))
action filter_type
action find
entity Q2160198
relation P39
type Q12737077
[ANSWERS]
['Q2160198', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2160198 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
bishop archbishop
Bishop and archbishop
bishop archbishop
action filter_type
action find
entity Rocco Talucci
relation position held
type occupation
['Rocco Talucci', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Rocco_Talucci property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2160198
P19
Q15617994
USER
Which administrative territory was that person born in ?
(Q29182,P19,c(Q15617994)) (Q49476,P19,c(Q15617994))
action filter_type
action find
entity Q2160198
relation P19
type Q15617994
['Q29182', 'P19', {'concept': 'Q15617994'}] ['Q49476', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2160198 property:P19 ?b . ?b rdf:type ontology:Q15617994 }
Rocco Talucci
action filter_type
action find
entity Rocco Talucci
relation place of birth
type designation for an administrative territorial entity
['bishop', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['archbishop', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Rocco_Talucci property:place_of_birth ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52691
SYSTEM
Venosa
Q52691
(Q29182,P19,c(Q15617994)) (Q49476,P19,c(Q15617994))
action filter_type
action find
entity Q2160198
relation P19
type Q15617994
That person was born in [ANSWER]
['Q29182', 'P19', {'concept': 'Q15617994'}] ['Q49476', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2160198 property:P19 ?b . ?b rdf:type ontology:Q15617994 }
Venosa
That person was born in Venosa
Venosa
action filter_type
action find
entity Rocco Talucci
relation place of birth
type designation for an administrative territorial entity
['bishop', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['archbishop', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Rocco_Talucci property:place_of_birth ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q766
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with greater number of administrative territories than Jamaica ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?j ) WHERE { ?p property:P530 ?g . ?p rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q766 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?j > ?f ) }
Jamaica
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?j ) WHERE { ?p property:diplomatic_relation ?g . ?p rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Jamaica property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?j > ?f ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?j ) WHERE { ?p property:P530 ?g . ?p rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Q766 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?j > ?f ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?j ) WHERE { ?p property:diplomatic_relation ?g . ?p rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { resource:Jamaica property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?j > ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with approximately 16 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 16
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?n ) WHERE { ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?u property:P530 ?g } GROUP BY ?u } . FILTER ( ?n = 16 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 16
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?n ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?g } GROUP BY ?u } . FILTER ( ?n = 16 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q142 Q148 Q801
SYSTEM
France, People's Republic of China, Israel
Q801 Q805 Q142 Q145 Q148 Q403 Q43 Q17 Q79 Q1011
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 16
[ANSWERS] have a diplomatic relationship with approximately 16 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?n ) WHERE { ?u rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?u property:P530 ?g } GROUP BY ?u } . FILTER ( ?n = 16 ) }
Israel Yemen France United Kingdom People's Republic of China Serbia Turkey Japan Egypt Cape Verde
France, People's Republic of China and Israel have a diplomatic relationship with approximately 16 administrative territories
France People's Republic of China Israel
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 16
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?n ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?g } GROUP BY ?u } . FILTER ( ?n = 16 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4377615
P530
Q1048835
USER
Do Pryazovske have ambassadorial relations with those administrative territories ?
(Q4377615,P530,Q142) (Q4377615,P530,Q148) (Q4377615,P530,Q801)
action is_in
entity prev_answer
action find
entity Q4377615
relation P530
['Q4377615', 'P530', 'Q142'] ['Q4377615', 'P530', 'Q148'] ['Q4377615', 'P530', 'Q801']
ASK WHERE { resource:Q4377615 property:P530 ?m . VALUES ( ?m ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } }
Pryazovske
action is_in
entity prev_answer
action find
entity Pryazovske
relation diplomatic relation
['Pryazovske', 'diplomatic relation', 'France'] ['Pryazovske', 'diplomatic relation', "People's Republic of China"] ['Pryazovske', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Pryazovske property:diplomatic_relation ?m . VALUES ( ?m ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } }
[]
political territorial entity
SYSTEM
NO
(Q4377615,P530,Q142) (Q4377615,P530,Q148) (Q4377615,P530,Q801)
action is_in
entity prev_answer
action find
entity Q4377615
relation P530
[ANSWER]
['Q4377615', 'P530', 'Q142'] ['Q4377615', 'P530', 'Q148'] ['Q4377615', 'P530', 'Q801']
ASK WHERE { resource:Q4377615 property:P530 ?m . VALUES ( ?m ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } }
No
action is_in
entity prev_answer
action find
entity Pryazovske
relation diplomatic relation
['Pryazovske', 'diplomatic relation', 'France'] ['Pryazovske', 'diplomatic relation', "People's Republic of China"] ['Pryazovske', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Pryazovske property:diplomatic_relation ?m . VALUES ( ?m ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29182
P366
Q502895
USER
Which person has its main use as bishop ?
(c(Q502895),P366,Q29182)
action filter_type
action find_reverse
entity Q29182
relation P366
type Q502895
[{'concept': 'Q502895'}, 'P366', 'Q29182']
SELECT DISTINCT ?b WHERE { ?b property:P366 resource:Q29182 . ?b rdf:type ontology:Q502895 }
bishop
action filter_type
action find_reverse
entity bishop
relation use
type common name
[{'concept': 'common name'}, 'use', 'bishop']
SELECT DISTINCT ?b WHERE { ?b property:use resource:bishop . ?b rdf:type ontology:common_name }
[]
common name
Q3539643
SYSTEM
Jevhen Hakman
Q3539643
(c(Q502895),P366,Q29182)
action filter_type
action find_reverse
entity Q29182
relation P366
type Q502895
[ANSWER] has its main use as bishop
[{'concept': 'Q502895'}, 'P366', 'Q29182']
SELECT DISTINCT ?b WHERE { ?b property:P366 resource:Q29182 . ?b rdf:type ontology:Q502895 }
Jevhen Hakman
Jevhen Hakman has its main use as bishop
Jevhen Hakman
action filter_type
action find_reverse
entity bishop
relation use
type common name
[{'concept': 'common name'}, 'use', 'bishop']
SELECT DISTINCT ?b WHERE { ?b property:use resource:bishop . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29182
P793
Q502895
USER
Which person had bishop as its key event ?
(c(Q502895),P793,Q29182)
action filter_type
action find_reverse
entity Q29182
relation P793
type Q502895
[{'concept': 'Q502895'}, 'P793', 'Q29182']
SELECT DISTINCT ?n WHERE { ?n property:P793 resource:Q29182 . ?n rdf:type ontology:Q502895 }
bishop
action filter_type
action find_reverse
entity bishop
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'bishop']
SELECT DISTINCT ?n WHERE { ?n property:significant_event resource:bishop . ?n rdf:type ontology:common_name }
[]
common name
Q1309250
SYSTEM
Everard de Jong
Q1309250
(c(Q502895),P793,Q29182)
action filter_type
action find_reverse
entity Q29182
relation P793
type Q502895
[ANSWER] had bishop as its key event
[{'concept': 'Q502895'}, 'P793', 'Q29182']
SELECT DISTINCT ?n WHERE { ?n property:P793 resource:Q29182 . ?n rdf:type ontology:Q502895 }
Everard de Jong
Everard de Jong had bishop as its key event
Everard de Jong
action filter_type
action find_reverse
entity bishop
relation significant event
type common name
[{'concept': 'common name'}, 'significant event', 'bishop']
SELECT DISTINCT ?n WHERE { ?n property:significant_event resource:bishop . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29182
P140
Q874405
USER
Which social group does that occupation relate to ?
(Q1309250,P140,c(Q874405))
action filter_type
action find
entity Q29182
relation P140
type Q874405
['Q1309250', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q29182 property:P140 ?z . ?z rdf:type ontology:Q874405 }
bishop
action filter_type
action find
entity bishop
relation religion
type social group
['Everard de Jong', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:bishop property:religion ?z . ?z rdf:type ontology:social_group }
[]
social group
Q5043
SYSTEM
Christianity
Q5043
(Q1309250,P140,c(Q874405))
action filter_type
action find
entity Q29182
relation P140
type Q874405
That occupation relates to [ANSWER]
['Q1309250', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?z WHERE { resource:Q29182 property:P140 ?z . ?z rdf:type ontology:Q874405 }
Christianity
That occupation relates to Christianity
Christianity
action filter_type
action find
entity bishop
relation religion
type social group
['Everard de Jong', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?z WHERE { resource:bishop property:religion ?z . ?z rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29182
P361
Q151885
USER
Which concept is bishop a component of ?
(Q29182,P361,c(Q151885))
action filter_type
action find
entity Q29182
relation P361
type Q151885
['Q29182', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q29182 property:P361 ?j . ?j rdf:type ontology:Q151885 }
bishop
action filter_type
action find
entity bishop
relation part of
type concept
['bishop', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:bishop property:part_of ?j . ?j rdf:type ontology:concept }
[]
concept
Q177826
SYSTEM
clergy
Q177826
(Q29182,P361,c(Q151885))
action filter_type
action find
entity Q29182
relation P361
type Q151885
Which concept is bishop a component of
['Q29182', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q29182 property:P361 ?j . ?j rdf:type ontology:Q151885 }
clergy
Which concept is bishop a component of
clergy
action filter_type
action find
entity bishop
relation part of
type concept
['bishop', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:bishop property:part_of ?j . ?j rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29182
P921
Q2342494
USER
Which collectable has that occupation as its main topic ?
(c(Q2342494),P921,Q177826)
action filter_type
action find_reverse
entity Q29182
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q177826']
SELECT DISTINCT ?i WHERE { ?i property:P921 resource:Q29182 . ?i rdf:type ontology:Q2342494 }
bishop
action filter_type
action find_reverse
entity bishop
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'clergy']
SELECT DISTINCT ?i WHERE { ?i property:main_subject resource:bishop . ?i rdf:type ontology:collectable }
[]
collectable
Q25343231
SYSTEM
The Bishops of Scotland
Q25343231
(c(Q2342494),P921,Q177826)
action filter_type
action find_reverse
entity Q29182
relation P921
type Q2342494
[ANSWER] has that occupation as its main topic
[{'concept': 'Q2342494'}, 'P921', 'Q177826']
SELECT DISTINCT ?i WHERE { ?i property:P921 resource:Q29182 . ?i rdf:type ontology:Q2342494 }
The Bishops of Scotland
The Bishops of Scotland has that occupation as its main topic
The Bishops of Scotland
action filter_type
action find_reverse
entity bishop
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'clergy']
SELECT DISTINCT ?i WHERE { ?i property:main_subject resource:bishop . ?i rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P530
Q1048835 Q56061
USER
How many political territories or administrative territories are known to have diplomatic connections with France ?
(c(Q1048835),P530,Q142) (c(Q56061),P530,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q142
relation P530
type Q56061
[{'concept': 'Q1048835'}, 'P530', 'Q142'] [{'concept': 'Q56061'}, 'P530', 'Q142']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P530 resource:Q142 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P530 resource:Q142 . ?q rdf:type ontology:Q56061 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity France
relation diplomatic relation
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'administrative territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:diplomatic_relation resource:France . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation resource:France . ?q rdf:type ontology:administrative_territorial_entity } }
[]
political territorial entity administrative territorial entity
SYSTEM
4
Q408 Q183 Q40 Q237
(c(Q1048835),P530,Q142) (c(Q56061),P530,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q142
relation P530
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q142'] [{'concept': 'Q56061'}, 'P530', 'Q142']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:P530 resource:Q142 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P530 resource:Q142 . ?q rdf:type ontology:Q56061 } }
Australia Germany Austria Vatican City
4
action count
action union
action filter_type
action find_reverse
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity France
relation diplomatic relation
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'France'] [{'concept': 'administrative territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { ?q property:diplomatic_relation resource:France . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation resource:France . ?q rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52691
P190
Q15617994
USER
Which administrative territories are twin cities of Venosa ?
(Q52691,P190,c(Q15617994))
action filter_type
action find
entity Q52691
relation P190
type Q15617994
['Q52691', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q52691 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Venosa
action filter_type
action find
entity Venosa
relation sister city
type designation for an administrative territorial entity
['Venosa', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Venosa property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52279 Q13659 Q53866
SYSTEM
Bernalda, Tortolì, Cetraro
Q52279 Q13659 Q53866
(Q52691,P190,c(Q15617994))
action filter_type
action find
entity Q52691
relation P190
type Q15617994
[ANSWERS] are twin cities of Venosa
['Q52691', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q52691 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Bernalda Tortolì Cetraro
Bernalda, Tortolì and Cetraro are twin cities of Venosa
Bernalda Tortolì Cetraro
action filter_type
action find
entity Venosa
relation sister city
type designation for an administrative territorial entity
['Venosa', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Venosa property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13659
P47
Q15617994
USER
Which administrative territories have a shared border with Tortolì ?
(Q13659,P47,c(Q15617994))
action filter_type
action find
entity Q13659
relation P47
type Q15617994
['Q13659', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q13659 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Tortolì
action filter_type
action find
entity Tortolì
relation shares border with
type designation for an administrative territorial entity
['Tortolì', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Tortolì property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q339713 Q340616 Q339968
SYSTEM
Arzana, Villagrande Strisaili, Ilbono
Q340616 Q339968 Q339898 Q340042 Q339713 Q339728
(Q13659,P47,c(Q15617994))
action filter_type
action find
entity Q13659
relation P47
type Q15617994
[ANSWERS] have a shared border with Tortolì
['Q13659', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q13659 property:P47 ?a . ?a rdf:type ontology:Q15617994 }
Villagrande Strisaili Ilbono Elini Lotzorai Arzana Bari Sardo
Arzana, Villagrande Strisaili and Ilbono have a shared border with Tortolì
Arzana Villagrande Strisaili Ilbono
action filter_type
action find
entity Tortolì
relation shares border with
type designation for an administrative territorial entity
['Tortolì', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Tortolì property:shares_border_with ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q340616
P17
Q15617994
USER
Which administrative territory is that one a part of ?
(Q340616,P17,c(Q15617994))
action filter_type
action find
entity Q340616
relation P17
type Q15617994
['Q340616', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q340616 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Villagrande Strisaili
action filter_type
action find
entity Villagrande Strisaili
relation country
type designation for an administrative territorial entity
['Villagrande Strisaili', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Villagrande_Strisaili property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q339968
SYSTEM
Did you mean Ilbono ?
Q339713 Q340616 Q339968
(Q339713,P17,c(Q15617994)) (Q340616,P17,c(Q15617994)) (Q339968,P17,c(Q15617994))
[ANSWER]
['Q339713', 'P17', {'concept': 'Q15617994'}] ['Q340616', 'P17', {'concept': 'Q15617994'}] ['Q339968', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q340616 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Arzana Villagrande Strisaili Ilbono
Did you mean Ilbono ?
Ilbono
['Arzana', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Villagrande Strisaili', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ilbono', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Villagrande_Strisaili property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Villagrande Strisaili. Could you tell me the answer for that?
(Q340616,P17,c(Q15617994))
Q340616
['Q340616', 'P17', {'concept': 'Q15617994'}]
['Villagrande Strisaili', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q340616,P17,c(Q15617994))
action filter_type
action find
entity Q340616
relation P17
type Q15617994
The [ANSWER] is that one a part of
['Q340616', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q340616 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Italy
The Italy is that one a part of
Italy
action filter_type
action find
entity Villagrande Strisaili
relation country
type designation for an administrative territorial entity
['Villagrande Strisaili', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Villagrande_Strisaili property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]