Simple Question (Direct)
Simple Question
Q16236312
P641
Q349
USER
Which sport was Ivan Lyapusov a part of ?
(Q16236312,P641,c(Q349))
action filter_type
action find
entity Q16236312
relation P641
type Q349
['Q16236312', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q16236312 property:P641 ?m . ?m rdf:type ontology:Q349 }
Ivan Lyapusov
action filter_type
action find
entity Ivan Lyapusov
relation sport
type sport
['Ivan Lyapusov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Ivan_Lyapusov property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16236312,P641,c(Q349))
action filter_type
action find
entity Q16236312
relation P641
type Q349
Which sport was Ivan Lyapusov a part of
['Q16236312', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q16236312 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Which sport was Ivan Lyapusov a part of
association football
action filter_type
action find
entity Ivan Lyapusov
relation sport
type sport
['Ivan Lyapusov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Ivan_Lyapusov property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P366
Q1076486
USER
Which sports venues have their main utilization as that sport ?
(c(Q1076486),P366,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P366
type Q1076486
[{'concept': 'Q1076486'}, 'P366', 'Q2736']
SELECT DISTINCT ?f WHERE { ?f property:P366 resource:Q2736 . ?f rdf:type ontology:Q1076486 }
association football
action filter_type
action find_reverse
entity association football
relation use
type sports venue
[{'concept': 'sports venue'}, 'use', 'association football']
SELECT DISTINCT ?f WHERE { ?f property:use resource:association_football . ?f rdf:type ontology:sports_venue }
[]
sports venue
Q867234 Q824352 Q2701834
SYSTEM
Swedbank Stadion, Ullevi, Tele2 Arena
Q935604 Q7536143 Q2301634 Q2701834 Q6744417 Q6711371 Q867234 Q7417550 Q5375261 Q501184 Q15057990 Q1421187 Q1238576 Q824352 Q7845178 Q1326393 Q1165409 Q7619895 Q1453337 Q2093297 Q1154710 Q151379 Q7944304 Q5464623 Q627087 Q7289779 Q4266901 Q1780359 Q5004954 Q571624 Q5743985 Q9393595 Q6917112 Q10540509 Q725623 Q739184 Q1583034 Q4530146 Q982837 Q1568614 Q814577 Q15077481 Q165944 Q15057987 Q727078 Q15057985 Q1138684 Q175960 Q1776735 Q197911 Q3435821 Q638087 Q15195205 Q4444527
(c(Q1076486),P366,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P366
type Q1076486
[ANSWERS] have their main utilization as that sport
[{'concept': 'Q1076486'}, 'P366', 'Q2736']
SELECT DISTINCT ?f WHERE { ?f property:P366 resource:Q2736 . ?f rdf:type ontology:Q1076486 }
Markbygg Arena Skogsvallen Strömvallen Tele2 Arena Malmö IP Lövåsvallen Swedbank Stadion Sandåkerns IP Enavallen Stadsparksvallen Hillängens IP Guldfågeln Arena Domnarvsvallen Ullevi Trollebo IP Rambergsvallen Swedbank Park Stora Valla Fredriksskans Ryavallen football stadium T3 Arena Vägga IP Folkungavallen Borås Arena Ramnavallen Tranebergs Idrottsplats Norrporten Arena Bårsta IP Idrottsparken Herrgärdets IP Ängelholms IP Motala Idrottspark Johanneshovs IP Råsunda Stadium Landskrona IP Myresjöhus Arena Ekvallen Linköping Arena Södertälje Fotbollsarena Behrn Arena Gamla Ullevi Gamla Ullevi Kamratvallen Stockholm Olympic Stadium Norra IP Friends Arena Malmö stadion Söderstadion Zhongshan Soccer Stadium Jämtkraft Arena Olympia Tyresövallen Studenternas IP
Swedbank Stadion, Ullevi and Tele2 Arena have their main utilization as that sport
Swedbank Stadion Ullevi Tele2 Arena
action filter_type
action find_reverse
entity association football
relation use
type sports venue
[{'concept': 'sports venue'}, 'use', 'association football']
SELECT DISTINCT ?f WHERE { ?f property:use resource:association_football . ?f rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P805
Q838948
USER
What was association football dedicated to ?
(c(Q838948),P805,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P805
type Q838948
[{'concept': 'Q838948'}, 'P805', 'Q2736']
SELECT DISTINCT ?y WHERE { ?y property:P805 resource:Q2736 . ?y rdf:type ontology:Q838948 }
association football
action filter_type
action find_reverse
entity association football
relation subject of
type work of art
[{'concept': 'work of art'}, 'subject of', 'association football']
SELECT DISTINCT ?y WHERE { ?y property:subject_of resource:association_football . ?y rdf:type ontology:work_of_art }
[]
work of art
Q869862
SYSTEM
Goal!
Q869862
(c(Q838948),P805,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P805
type Q838948
Association football was dedicated to [ANSWER]
[{'concept': 'Q838948'}, 'P805', 'Q2736']
SELECT DISTINCT ?y WHERE { ?y property:P805 resource:Q2736 . ?y rdf:type ontology:Q838948 }
Goal!
Association football was dedicated to Goal!
Goal!
action filter_type
action find_reverse
entity association football
relation subject of
type work of art
[{'concept': 'work of art'}, 'subject of', 'association football']
SELECT DISTINCT ?y WHERE { ?y property:subject_of resource:association_football . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P466
Q811979
USER
Which architectural structure is occupied by that sport ?
(c(Q811979),P466,Q869862)
action filter_type
action find_reverse
entity Q2736
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q869862']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q811979 . ?p property:P466 resource:Q2736 }
association football
action filter_type
action find_reverse
entity association football
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Goal!']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:architectural_structure . ?p property:occupant resource:association_football }
[]
architectural structure
Q7971000
SYSTEM
Warta Stadion
Q7971000
(c(Q811979),P466,Q869862)
action filter_type
action find_reverse
entity Q2736
relation P466
type Q811979
[ANSWER] is occupied by that sport
[{'concept': 'Q811979'}, 'P466', 'Q869862']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q811979 . ?p property:P466 resource:Q2736 }
Warta Stadion
Warta Stadion is occupied by that sport
Warta Stadion
action filter_type
action find_reverse
entity association football
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Goal!']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:architectural_structure . ?p property:occupant resource:association_football }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7971000 Q36
P17
Q15617994
USER
Is Warta Stadion present in Poland ?
(Q7971000,P17,Q36)
action is_in
entity Q36
action find
entity Q7971000
relation P17
['Q7971000', 'P17', 'Q36']
ASK WHERE { resource:Q7971000 property:P17 resource:Q36 }
Warta Stadion Poland
action is_in
entity Poland
action find
entity Warta Stadion
relation country
['Warta Stadion', 'country', 'Poland']
ASK WHERE { resource:Warta_Stadion property:country resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7971000,P17,Q36)
action is_in
entity Q36
action find
entity Q7971000
relation P17
[ANSWER]
['Q7971000', 'P17', 'Q36']
ASK WHERE { resource:Q7971000 property:P17 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Warta Stadion
relation country
['Warta Stadion', 'country', 'Poland']
ASK WHERE { resource:Warta_Stadion property:country resource:Poland }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P193
Q502895 Q43229 Q811979
USER
Which architectural structures were built by min number of people or organizations ?
(c(Q811979),P193,c(Q502895)|c(Q43229))
action argmin
action union
action find_tuple_counts
relation P193
type Q811979
type Q502895
action find_tuple_counts
relation P193
type Q811979
type Q43229
[{'concept': 'Q811979'}, 'P193', [{'concept': 'Q502895'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?t WHERE { { ?t property:P193 ?o . ?t rdf:type ontology:Q811979 . ?o rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q811979 . ?o rdf:type ontology:Q43229 . ?t property:P193 ?o } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?e WHERE { { ?e property:P193 ?i . ?e rdf:type ontology:Q811979 . ?i rdf:type ontology:Q502895 } UNION { ?e property:P193 ?i . ?i rdf:type ontology:Q43229 . ?e rdf:type ontology:Q811979 } } GROUP BY ?e } . FILTER ( ?b = ?k ) }
action argmin
action union
action find_tuple_counts
relation main building contractor
type architectural structure
type common name
action find_tuple_counts
relation main building contractor
type architectural structure
type organization
[{'concept': 'architectural structure'}, 'main building contractor', [{'concept': 'common name'}, {'concept': 'organization'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?t WHERE { { ?t property:main_building_contractor ?o . ?t rdf:type ontology:architectural_structure . ?o rdf:type ontology:common_name } UNION { ?t rdf:type ontology:architectural_structure . ?o rdf:type ontology:organization . ?t property:main_building_contractor ?o } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?e WHERE { { ?e property:main_building_contractor ?i . ?e rdf:type ontology:architectural_structure . ?i rdf:type ontology:common_name } UNION { ?e property:main_building_contractor ?i . ?i rdf:type ontology:organization . ?e rdf:type ontology:architectural_structure } } GROUP BY ?e } . FILTER ( ?b = ?k ) }
[]
common name organization architectural structure
Q4869865 Q378655 Q5669316
SYSTEM
Battery Moltke, United Spirit Arena, Harry Grove Stadium
Q15265926 Q6016039 Q7184961 Q5012860 Q5359041 Q378655 Q4636498 Q3198005 Q5452224 Q6108791 Q5669316 Q7290932 Q1914478 Q5876764 Q5447561 Q5685116 Q7244008 Q14687223 Q16890382 Q5968781 Q7606681 Q7330798 Q6286031 Q5453386 Q6840597 Q655753 Q7572306 Q26811672 Q14709658 Q767873 Q2923640 Q3359761 Q7981834 Q7227135 Q8007500 Q7730070 Q7120126 Q4869865 Q4869861 Q5252301 Q5142988 Q7492276 Q3564821 Q1336027 Q22082227 Q14683022 Q3603778
(c(Q811979),P193,c(Q502895)|c(Q43229))
action argmin
action union
action find_tuple_counts
relation P193
type Q811979
type Q502895
action find_tuple_counts
relation P193
type Q811979
type Q43229
[ANSWERS] were built by min number of people or organizations
[{'concept': 'Q811979'}, 'P193', [{'concept': 'Q502895'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?t WHERE { { ?t property:P193 ?o . ?t rdf:type ontology:Q811979 . ?o rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q811979 . ?o rdf:type ontology:Q43229 . ?t property:P193 ?o } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?e WHERE { { ?e property:P193 ?i . ?e rdf:type ontology:Q811979 . ?i rdf:type ontology:Q502895 } UNION { ?e property:P193 ?i . ?i rdf:type ontology:Q43229 . ?e rdf:type ontology:Q811979 } } GROUP BY ?e } . FILTER ( ?b = ?k ) }
Vince J. Whibbs Sr. Community Maritime Park Stadium Independence Events Center Philippine Arena CMC-NorthEast Stadium Raffles City United Spirit Arena 3 Hardman Street Knights Stadium FirstEnergy Stadium JQH Arena Harry Grove Stadium Rancho Cucamonga Epicenter Mayo Building Hofheinz Pavilion Fifth Third Bank Ballpark Hawkins Arena Prince George's Stadium Memorial Gymnasium Clackline Bridge IBM Building Stegeman Coliseum Richmond County Bank Ballpark Joseph P. Riley, Jr. Park First National Bank Building Mid-America Center Arena do Grêmio Space Coast Stadium Clay Street Center TicketReturn.com Field Russia Tower Bramlage Coliseum PNC Field Welsh-Ryan Arena Polyvalent Hall William D. Mullins Memorial Center The Diamond PPL Center Battery Moltke Battery Lothringen Dehler Park Coleman Coliseum Sheboygan Municipal Auditorium and Armory WVU Coliseum Allstate Arena Houlgate battery Lake Elsinore Diamond Kyrkbron
Battery Moltke, United Spirit Arena and Harry Grove Stadium were built by min number of people or organizations
Battery Moltke United Spirit Arena Harry Grove Stadium
action argmin
action union
action find_tuple_counts
relation main building contractor
type architectural structure
type common name
action find_tuple_counts
relation main building contractor
type architectural structure
type organization
[{'concept': 'architectural structure'}, 'main building contractor', [{'concept': 'common name'}, {'concept': 'organization'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?t WHERE { { ?t property:main_building_contractor ?o . ?t rdf:type ontology:architectural_structure . ?o rdf:type ontology:common_name } UNION { ?t rdf:type ontology:architectural_structure . ?o rdf:type ontology:organization . ?t property:main_building_contractor ?o } } GROUP BY ?t } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?e WHERE { { ?e property:main_building_contractor ?i . ?e rdf:type ontology:architectural_structure . ?i rdf:type ontology:common_name } UNION { ?e property:main_building_contractor ?i . ?i rdf:type ontology:organization . ?e rdf:type ontology:architectural_structure } } GROUP BY ?e } . FILTER ( ?b = ?k ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that architectural structure a part of ?
(Q378655,P17,c(Q15617994))
['Q378655', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q378655 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['United Spirit Arena', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:United_Spirit_Arena property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q4869865
SYSTEM
Did you mean Battery Moltke ?
(Q4869865,P17,c(Q15617994)) (Q378655,P17,c(Q15617994)) (Q5669316,P17,c(Q15617994))
[ANSWER]
['Q4869865', 'P17', {'concept': 'Q15617994'}] ['Q378655', 'P17', {'concept': 'Q15617994'}] ['Q5669316', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q378655 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Battery Moltke ?
Battery Moltke
['Battery Moltke', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United Spirit Arena', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Harry Grove Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:United_Spirit_Arena property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant United Spirit Arena. Could you tell me the answer for that?
(Q378655,P17,c(Q15617994))
Q378655
['Q378655', 'P17', {'concept': 'Q15617994'}]
['United Spirit Arena', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q378655,P17,c(Q15617994))
[ANSWER]
['Q378655', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q378655 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['United Spirit Arena', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:United_Spirit_Arena property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1064892 Q7971000
P17
Q15617994
USER
Which administrative territories are Warta Stadion or Koishikawa Botanical Gardens situated in ?
OR((Q7971000,P17,c(Q15617994)), (Q1064892,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7971000
relation P17
action find
entity Q1064892
relation P17
type Q15617994
{'OR': [['Q7971000', 'P17', {'concept': 'Q15617994'}], ['Q1064892', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7971000 property:P17 ?r } UNION { resource:Q1064892 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Koishikawa Botanical Gardens Warta Stadion
action filter_type
action union
action find
entity Warta Stadion
relation country
action find
entity Koishikawa Botanical Gardens
relation country
type designation for an administrative territorial entity
{'OR': [['Warta Stadion', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Koishikawa Botanical Gardens', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Warta_Stadion property:country ?r } UNION { resource:Koishikawa_Botanical_Gardens property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q36
SYSTEM
Japan, Poland
Q17 Q36
OR((Q7971000,P17,c(Q15617994)), (Q1064892,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7971000
relation P17
action find
entity Q1064892
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q7971000', 'P17', {'concept': 'Q15617994'}], ['Q1064892', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q7971000 property:P17 ?r } UNION { resource:Q1064892 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Japan Poland
Japan Poland
action filter_type
action union
action find
entity Warta Stadion
relation country
action find
entity Koishikawa Botanical Gardens
relation country
type designation for an administrative territorial entity
{'OR': [['Warta Stadion', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Koishikawa Botanical Gardens', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Warta_Stadion property:country ?r } UNION { resource:Koishikawa_Botanical_Gardens property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1368972 Q36
P47 P530
Q1048835
USER
Which political territories holds diplomatic relationship with Poland or share border with Antas de Ulla ?
OR((Q36,P530,c(Q1048835)), (Q1368972,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q1368972
relation P47
type Q1048835
{'OR': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q1368972', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . { { resource:Q36 property:P530 ?g } UNION { resource:Q1368972 property:P47 ?g } } }
Antas de Ulla Poland
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity Antas de Ulla
relation shares border with
type political territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Antas de Ulla', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . { { resource:Poland property:diplomatic_relation ?g } UNION { resource:Antas_de_Ulla property:shares_border_with ?g } } }
[]
political territorial entity
Q1627583 Q1122290 Q395225 Q183 Q408 Q16 Q578118 Q842216
SYSTEM
Rodeiro, Monterroso, Agolada, Germany, Australia, Canada, Taboada, Palas de Rei
Q1627583 Q1122290 Q395225 Q183 Q408 Q16 Q578118 Q842216
OR((Q36,P530,c(Q1048835)), (Q1368972,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q36
relation P530
action find
entity Q1368972
relation P47
type Q1048835
[ANSWERS] hold diplomatic relationship with Poland or share border with Antas de Ulla
{'OR': [['Q36', 'P530', {'concept': 'Q1048835'}], ['Q1368972', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . { { resource:Q36 property:P530 ?g } UNION { resource:Q1368972 property:P47 ?g } } }
Rodeiro Monterroso Agolada Germany Australia Canada Taboada Palas de Rei
Rodeiro, Monterroso, Agolada, Germany, Australia, Canada, Taboada and Palas de Rei hold diplomatic relationship with Poland or share border with Antas de Ulla
Rodeiro Monterroso Agolada Germany Australia Canada Taboada Palas de Rei
action filter_type
action union
action find
entity Poland
relation diplomatic relation
action find
entity Antas de Ulla
relation shares border with
type political territorial entity
{'OR': [['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Antas de Ulla', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . { { resource:Poland property:diplomatic_relation ?g } UNION { resource:Antas_de_Ulla property:shares_border_with ?g } } }
[]