Simple Question (Direct)
Simple Question
Q2528162
P21
Q290
USER
Which sex does Eriek Verpale possess ?
(Q2528162,P21,c(Q290))
action filter_type
action find
entity Q2528162
relation P21
type Q290
['Q2528162', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2528162 property:P21 ?t . ?t rdf:type ontology:Q290 }
Eriek Verpale
action filter_type
action find
entity Eriek Verpale
relation gender
type sex
['Eriek Verpale', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Eriek_Verpale property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2528162,P21,c(Q290))
action filter_type
action find
entity Q2528162
relation P21
type Q290
Eriek Verpale possesses un [ANSWER]
['Q2528162', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2528162 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Eriek Verpale possesses un male
male
action filter_type
action find
entity Eriek Verpale
relation gender
type sex
['Eriek Verpale', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Eriek_Verpale property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2528162
P27
Q15617994
USER
Which administrative territory is Eriek Verpale a civilian of ?
(Q2528162,P27,c(Q15617994))
action filter_type
action find
entity Q2528162
relation P27
type Q15617994
['Q2528162', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2528162 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Eriek Verpale
action filter_type
action find
entity Eriek Verpale
relation country of citizenship
type designation for an administrative territorial entity
['Eriek Verpale', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Eriek_Verpale property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q2528162,P27,c(Q15617994))
action filter_type
action find
entity Q2528162
relation P27
type Q15617994
[ANSWER] is Eriek Verpale a civilian of
['Q2528162', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q2528162 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Belgium
Belgium is Eriek Verpale a civilian of
Belgium
action filter_type
action find
entity Eriek Verpale
relation country of citizenship
type designation for an administrative territorial entity
['Eriek Verpale', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Eriek_Verpale property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q62447 Q16521
USER
Which administrative territories are the etymology of exactly 1 aerodromes and taxons ?
(c(Q62447)|c(Q16521),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
value 1
[[{'concept': 'Q62447'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?n ) WHERE { ?b rdf:type ?r . VALUES ( ?r ) { ( ontology:Q62447 ) ( ontology:Q16521 ) } } GROUP BY ?y } . FILTER ( ?n = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
value 1
[[{'concept': 'aerodrome'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?n ) WHERE { ?b rdf:type ?r . VALUES ( ?r ) { ( ontology:aerodrome ) ( ontology:taxon ) } } GROUP BY ?y } . FILTER ( ?n = 1 ) }
[]
designation for an administrative territorial entity aerodrome taxon
Q717 Q869 Q928
SYSTEM
Venezuela, Thailand, Philippines
Q1458 Q33788 Q53873 Q712 Q717 Q205050 Q917 Q819 Q869 Q928
(c(Q62447)|c(Q16521),P138,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q16521
value 1
[ANSWERS] are the etymology of exactly 1 aerodromes and taxons
[[{'concept': 'Q62447'}, {'concept': 'Q16521'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?n ) WHERE { ?b rdf:type ?r . VALUES ( ?r ) { ( ontology:Q62447 ) ( ontology:Q16521 ) } } GROUP BY ?y } . FILTER ( ?n = 1 ) }
Calabria New Caledonia Diamante Fiji Venezuela Geilenkirchen Bhutan Laos Thailand Philippines
Venezuela, Thailand and Philippines are the etymology of exactly 1 aerodromes and taxons
Venezuela Thailand Philippines
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type taxon
value 1
[[{'concept': 'aerodrome'}, {'concept': 'taxon'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?n ) WHERE { ?b rdf:type ?r . VALUES ( ?r ) { ( ontology:aerodrome ) ( ontology:taxon ) } } GROUP BY ?y } . FILTER ( ?n = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q717 Q869 Q928
P47
Q15617994
USER
Which administrative territories share border with those ones ?
(Q717,P47,c(Q15617994)) (Q869,P47,c(Q15617994)) (Q928,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q717', 'P47', {'concept': 'Q15617994'}] ['Q869', 'P47', {'concept': 'Q15617994'}] ['Q928', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?z property:P47 ?s . ?s rdf:type ontology:Q15617994 . VALUES ( ?z ) { ( resource:Q1458 ) ( resource:Q33788 ) ( resource:Q53873 ) } }
Venezuela Thailand Philippines
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Venezuela', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Thailand', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Philippines', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?z property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?z ) { ( resource:Calabria ) ( resource:New_Caledonia ) ( resource:Diamante ) } }
[]
designation for an administrative territorial entity
Q155 Q30 Q142
SYSTEM
Brazil, United States of America, France
Q739 Q142 Q145 Q155 Q29999 Q784 Q734 Q786 Q30 Q760 Q754 Q833 Q836 Q819 Q424 Q252
(Q717,P47,c(Q15617994)) (Q869,P47,c(Q15617994)) (Q928,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] share border with those ones
['Q717', 'P47', {'concept': 'Q15617994'}] ['Q869', 'P47', {'concept': 'Q15617994'}] ['Q928', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?z property:P47 ?s . ?s rdf:type ontology:Q15617994 . VALUES ( ?z ) { ( resource:Q1458 ) ( resource:Q33788 ) ( resource:Q53873 ) } }
Colombia France United Kingdom Brazil Kingdom of the Netherlands Dominica Guyana Dominican Republic United States of America Saint Lucia Trinidad and Tobago Malaysia Myanmar Laos Cambodia Indonesia
Brazil, United States of America and France share border with those ones
Brazil United States of America France
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Venezuela', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Thailand', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Philippines', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?z property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?z ) { ( resource:Calabria ) ( resource:New_Caledonia ) ( resource:Diamante ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q30 Q142
P17
Q15617994
USER
Which administrative territories do Brazil, United States of America and France belong to ?
(Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994)) (Q142,P17,c(Q15617994))
action union
action filter_type
action find
entity Q155
relation P17
type Q15617994
action filter_type
action find
entity Q30
relation P17
type Q15617994
action filter_type
action find
entity Q142
relation P17
type Q15617994
['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}] ['Q142', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q155 property:P17 ?u . ?u rdf:type ontology:Q15617994 } UNION { resource:Q30 property:P17 ?u . ?u rdf:type ontology:Q15617994 } }
Brazil United States of America France
action union
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity France
relation country
type designation for an administrative territorial entity
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['France', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:Brazil property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:United_States_of_America property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q155 Q30 Q142
SYSTEM
Brazil, United States of America, France
Q155 Q30 Q142
(Q155,P17,c(Q15617994)) (Q30,P17,c(Q15617994)) (Q142,P17,c(Q15617994))
action union
action filter_type
action find
entity Q155
relation P17
type Q15617994
action filter_type
action find
entity Q30
relation P17
type Q15617994
action filter_type
action find
entity Q142
relation P17
type Q15617994
[ANSWERS] [ANSWERS] belong to
['Q155', 'P17', {'concept': 'Q15617994'}] ['Q30', 'P17', {'concept': 'Q15617994'}] ['Q142', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q155 property:P17 ?u . ?u rdf:type ontology:Q15617994 } UNION { resource:Q30 property:P17 ?u . ?u rdf:type ontology:Q15617994 } }
Brazil United States of America France
Brazil, United States of America and France Brazil, United States of America and France belong to
Brazil United States of America France
action union
action filter_type
action find
entity Brazil
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity France
relation country
type designation for an administrative territorial entity
['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'country', {'concept': 'designation for an administrative territorial entity'}] ['France', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:Brazil property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:United_States_of_America property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P530
Q1048835
USER
Which political territories have diplomatic relations with Brazil ?
(Q155,P530,c(Q1048835)) (Q30,P530,c(Q1048835)) (Q142,P530,c(Q1048835))
action filter_type
action find
entity Q155
relation P530
type Q1048835
['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q155 property:P530 ?e . ?e rdf:type ontology:Q1048835 }
Brazil
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Brazil property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q408 Q16 Q766 Q183 Q35
(Q155,P530,c(Q1048835)) (Q30,P530,c(Q1048835)) (Q142,P530,c(Q1048835))
action filter_type
action find
entity Q155
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with Brazil
['Q155', 'P530', {'concept': 'Q1048835'}] ['Q30', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q155 property:P530 ?e . ?e rdf:type ontology:Q1048835 }
Australia Canada Jamaica Germany Denmark
Germany, Australia and Denmark have diplomatic relations with Brazil
Germany Australia Denmark
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Brazil property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q1048835 Q15617994
USER
How many political territories and administrative territories have an adjacent border with that political territory ?
(c(Q1048835),P47,Q35) (c(Q15617994),P47,Q35) (c(Q1048835),P47,Q183) (c(Q15617994),P47,Q183) (c(Q1048835),P47,Q408) (c(Q15617994),P47,Q408) (c(Q1048835),P47,Q35) (c(Q15617994),P47,Q35)
[{'concept': 'Q1048835'}, 'P47', 'Q35'] [{'concept': 'Q15617994'}, 'P47', 'Q35'] [{'concept': 'Q1048835'}, 'P47', 'Q183'] [{'concept': 'Q15617994'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q408'] [{'concept': 'Q15617994'}, 'P47', 'Q408'] [{'concept': 'Q1048835'}, 'P47', 'Q35'] [{'concept': 'Q15617994'}, 'P47', 'Q35']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q22286761 } UNION { ?y property:P47 resource:Q22286761 } UNION { ?z property:P47 resource:Q423030 } UNION { ?y property:P47 resource:Q423030 } UNION { ?z property:P47 resource:Q17666015 } UNION { ?y property:P47 resource:Q17666015 } UNION { ?z property:P47 resource:Q22286761 } UNION { ?y property:P47 resource:Q22286761 } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'political territorial entity'}, 'shares border with', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Denmark'] [{'concept': 'political territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Denmark']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Denmark } UNION { ?y property:shares_border_with resource:Denmark } UNION { ?z property:shares_border_with resource:Germany } UNION { ?y property:shares_border_with resource:Germany } UNION { ?z property:shares_border_with resource:Australia } UNION { ?y property:shares_border_with resource:Australia } UNION { ?z property:shares_border_with resource:Denmark } UNION { ?y property:shares_border_with resource:Denmark } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
political territorial entity designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q35
SYSTEM
Did you mean Denmark ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q22286761 } UNION { ?y property:P47 resource:Q22286761 } UNION { ?z property:P47 resource:Q423030 } UNION { ?y property:P47 resource:Q423030 } UNION { ?z property:P47 resource:Q17666015 } UNION { ?y property:P47 resource:Q17666015 } UNION { ?z property:P47 resource:Q22286761 } UNION { ?y property:P47 resource:Q22286761 } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Did you mean Denmark ?
Denmark
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Denmark } UNION { ?y property:shares_border_with resource:Denmark } UNION { ?z property:shares_border_with resource:Germany } UNION { ?y property:shares_border_with resource:Germany } UNION { ?z property:shares_border_with resource:Australia } UNION { ?y property:shares_border_with resource:Australia } UNION { ?z property:shares_border_with resource:Denmark } UNION { ?y property:shares_border_with resource:Denmark } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q1048835),P47,Q35) (c(Q15617994),P47,Q35) (c(Q1048835),P47,Q183) (c(Q15617994),P47,Q183) (c(Q1048835),P47,Q408) (c(Q15617994),P47,Q408) (c(Q1048835),P47,Q35) (c(Q15617994),P47,Q35)
[{'concept': 'Q1048835'}, 'P47', 'Q35'] [{'concept': 'Q15617994'}, 'P47', 'Q35'] [{'concept': 'Q1048835'}, 'P47', 'Q183'] [{'concept': 'Q15617994'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q408'] [{'concept': 'Q15617994'}, 'P47', 'Q408'] [{'concept': 'Q1048835'}, 'P47', 'Q35'] [{'concept': 'Q15617994'}, 'P47', 'Q35']
[{'concept': 'political territorial entity'}, 'shares border with', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Denmark'] [{'concept': 'political territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Denmark']
[]
SYSTEM
1 political territories and 3 administrative territories
Q20 Q145 Q183 Q34
(c(Q1048835),P47,Q35) (c(Q15617994),P47,Q35) (c(Q1048835),P47,Q183) (c(Q15617994),P47,Q183) (c(Q1048835),P47,Q408) (c(Q15617994),P47,Q408) (c(Q1048835),P47,Q35) (c(Q15617994),P47,Q35)
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q35'] [{'concept': 'Q15617994'}, 'P47', 'Q35'] [{'concept': 'Q1048835'}, 'P47', 'Q183'] [{'concept': 'Q15617994'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q408'] [{'concept': 'Q15617994'}, 'P47', 'Q408'] [{'concept': 'Q1048835'}, 'P47', 'Q35'] [{'concept': 'Q15617994'}, 'P47', 'Q35']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q22286761 } UNION { ?y property:P47 resource:Q22286761 } UNION { ?z property:P47 resource:Q423030 } UNION { ?y property:P47 resource:Q423030 } UNION { ?z property:P47 resource:Q17666015 } UNION { ?y property:P47 resource:Q17666015 } UNION { ?z property:P47 resource:Q22286761 } UNION { ?y property:P47 resource:Q22286761 } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 }
Norway United Kingdom Germany Sweden
1 political territories and 3 administrative territories
[{'concept': 'political territorial entity'}, 'shares border with', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Denmark'] [{'concept': 'political territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Denmark']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:Denmark } UNION { ?y property:shares_border_with resource:Denmark } UNION { ?z property:shares_border_with resource:Germany } UNION { ?y property:shares_border_with resource:Germany } UNION { ?z property:shares_border_with resource:Australia } UNION { ?y property:shares_border_with resource:Australia } UNION { ?z property:shares_border_with resource:Denmark } UNION { ?y property:shares_border_with resource:Denmark } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]