Simple Question (Direct)
Simple Question
Q1512148
P937
Q515
USER
Which city is the work location of Gerhard Merz ?
(Q1512148,P937,c(Q515))
action filter_type
action find
entity Q1512148
relation P937
type Q515
['Q1512148', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q1512148 property:P937 ?h . ?h rdf:type ontology:Q515 }
Gerhard Merz
action filter_type
action find
entity Gerhard Merz
relation work location
type city
['Gerhard Merz', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Gerhard_Merz property:work_location ?h . ?h rdf:type ontology:city }
[]
city
Q1721
SYSTEM
Wiesbaden
Q1721
(Q1512148,P937,c(Q515))
action filter_type
action find
entity Q1512148
relation P937
type Q515
[ANSWER] is the work location of Gerhard Merz
['Q1512148', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q1512148 property:P937 ?h . ?h rdf:type ontology:Q515 }
Wiesbaden
Wiesbaden is the work location of Gerhard Merz
Wiesbaden
action filter_type
action find
entity Gerhard Merz
relation work location
type city
['Gerhard Merz', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Gerhard_Merz property:work_location ?h . ?h rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1512148
P21
Q290
USER
Which sex does that person have ?
(Q1721,P21,c(Q290))
action filter_type
action find
entity Q1512148
relation P21
type Q290
['Q1721', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1512148 property:P21 ?z . ?z rdf:type ontology:Q290 }
Gerhard Merz
action filter_type
action find
entity Gerhard Merz
relation gender
type sex
['Wiesbaden', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Gerhard_Merz property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1721,P21,c(Q290))
action filter_type
action find
entity Q1512148
relation P21
type Q290
That person has a [ANSWER]
['Q1721', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q1512148 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Gerhard Merz
relation gender
type sex
['Wiesbaden', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Gerhard_Merz property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1512148
P102
Q7278
USER
Which political party is Gerhard Merz a member of ?
(Q1512148,P102,c(Q7278))
action filter_type
action find
entity Q1512148
relation P102
type Q7278
['Q1512148', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?n WHERE { resource:Q1512148 property:P102 ?n . ?n rdf:type ontology:Q7278 }
Gerhard Merz
action filter_type
action find
entity Gerhard Merz
relation member of political party
type political party
['Gerhard Merz', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?n WHERE { resource:Gerhard_Merz property:member_of_political_party ?n . ?n rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1512148,P102,c(Q7278))
action filter_type
action find
entity Q1512148
relation P102
type Q7278
Party [ANSWER] is Gerhard Merz a member of
['Q1512148', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?n WHERE { resource:Q1512148 property:P102 ?n . ?n rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Gerhard Merz a member of
Social Democratic Party of Germany
action filter_type
action find
entity Gerhard Merz
relation member of political party
type political party
['Gerhard Merz', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?n WHERE { resource:Gerhard_Merz property:member_of_political_party ?n . ?n rdf:type ontology:political_party }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3420740
Q7278
USER
And also tell me about Raymond Casas?
(Q3420740,P102,c(Q7278))
action filter_type
action find
entity Q3420740
relation P102
type Q7278
['Q3420740', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q3420740 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Raymond Casas
action filter_type
action find
entity Raymond Casas
relation member of political party
type political party
['Raymond Casas', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Raymond_Casas property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
political party
Q192821
SYSTEM
French Communist Party
Q192821
(Q3420740,P102,c(Q7278))
action filter_type
action find
entity Q3420740
relation P102
type Q7278
[ANSWER]
['Q3420740', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q3420740 property:P102 ?c . ?c rdf:type ontology:Q7278 }
French Communist Party
French Communist Party
action filter_type
action find
entity Raymond Casas
relation member of political party
type political party
['Raymond Casas', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Raymond_Casas property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q192821 Q142
P17
Q15617994
USER
Is that political party located in France ?
(Q192821,P17,Q142)
action is_in
entity Q142
action find
entity Q192821
relation P17
['Q192821', 'P17', 'Q142']
ASK WHERE { resource:Q192821 property:P17 resource:Q142 }
French Communist Party France
action is_in
entity France
action find
entity French Communist Party
relation country
['French Communist Party', 'country', 'France']
ASK WHERE { resource:French_Communist_Party property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q192821,P17,Q142)
action is_in
entity Q142
action find
entity Q192821
relation P17
[ANSWER]
['Q192821', 'P17', 'Q142']
ASK WHERE { resource:Q192821 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity French Communist Party
relation country
['French Communist Party', 'country', 'France']
ASK WHERE { resource:French_Communist_Party property:country resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1512148
P361
Q320501
USER
Which Landtag is Gerhard Merz a part of ?
(Q1512148,P361,c(Q320501))
action filter_type
action find
entity Q1512148
relation P361
type Q320501
['Q1512148', 'P361', {'concept': 'Q320501'}]
SELECT DISTINCT ?i WHERE { resource:Q1512148 property:P361 ?i . ?i rdf:type ontology:Q320501 }
Gerhard Merz
action filter_type
action find
entity Gerhard Merz
relation part of
type Landtag
['Gerhard Merz', 'part of', {'concept': 'Landtag'}]
SELECT DISTINCT ?i WHERE { resource:Gerhard_Merz property:part_of ?i . ?i rdf:type ontology:Landtag }
[]
Landtag
Q17602264
SYSTEM
19th Landtag of Hesse
Q17602264
(Q1512148,P361,c(Q320501))
action filter_type
action find
entity Q1512148
relation P361
type Q320501
The [ANSWER] is Gerhard Merz a part of
['Q1512148', 'P361', {'concept': 'Q320501'}]
SELECT DISTINCT ?i WHERE { resource:Q1512148 property:P361 ?i . ?i rdf:type ontology:Q320501 }
19th Landtag of Hesse
The 19th Landtag of Hesse is Gerhard Merz a part of
19th Landtag of Hesse
action filter_type
action find
entity Gerhard Merz
relation part of
type Landtag
['Gerhard Merz', 'part of', {'concept': 'Landtag'}]
SELECT DISTINCT ?i WHERE { resource:Gerhard_Merz property:part_of ?i . ?i rdf:type ontology:Landtag }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1010284 Q1512148
P47 P27
Q1048835
USER
Which political territories do Gerhard Merz belong to or share the border with Vilanova d'Escornalbou ?
OR((Q1512148,P27,c(Q1048835)), (Q1010284,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1512148
relation P27
action find
entity Q1010284
relation P47
type Q1048835
{'OR': [['Q1512148', 'P27', {'concept': 'Q1048835'}], ['Q1010284', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1010284 property:P47 ?f } UNION { resource:Q1512148 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
Vilanova d'Escornalbou Gerhard Merz
action filter_type
action union
action find
entity Gerhard Merz
relation country of citizenship
action find
entity Vilanova d'Escornalbou
relation shares border with
type political territorial entity
{'OR': [['Gerhard Merz', 'country of citizenship', {'concept': 'political territorial entity'}], ["Vilanova d'Escornalbou", 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Vilanova_d'Escornalbou property:shares_border_with ?f } UNION { resource:Gerhard_Merz property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q929794 Q913304 Q685134 Q183 Q1231311
SYSTEM
Mont-roig del Camp, Riudecanyes, Colldejou, Germany, L'Argentera
Q929794 Q913304 Q685134 Q183 Q1231311
OR((Q1512148,P27,c(Q1048835)), (Q1010284,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1512148
relation P27
action find
entity Q1010284
relation P47
type Q1048835
Gerhard Merz belong to the [ANSWERS]
{'OR': [['Q1512148', 'P27', {'concept': 'Q1048835'}], ['Q1010284', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1010284 property:P47 ?f } UNION { resource:Q1512148 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
Mont-roig del Camp Riudecanyes Colldejou Germany L'Argentera
Gerhard Merz belong to the Mont-roig del Camp, Riudecanyes, Colldejou, Germany and L'Argentera
Mont-roig del Camp Riudecanyes Colldejou Germany L'Argentera
action filter_type
action union
action find
entity Gerhard Merz
relation country of citizenship
action find
entity Vilanova d'Escornalbou
relation shares border with
type political territorial entity
{'OR': [['Gerhard Merz', 'country of citizenship', {'concept': 'political territorial entity'}], ["Vilanova d'Escornalbou", 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Vilanova_d'Escornalbou property:shares_border_with ?f } UNION { resource:Gerhard_Merz property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q1267889 Q15324 Q1048835
USER
Which political territories are located next to min number of waterways or bodies of water ?
(c(Q1048835),P206,c(Q1267889)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q15324
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?o WHERE { { ?o property:P206 ?x . ?x rdf:type ontology:Q1267889 . ?o rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q15324 . ?o rdf:type ontology:Q1048835 . ?o property:P206 ?x } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?t WHERE { { ?t property:P206 ?v . ?t rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15324 } UNION { ?t property:P206 ?v . ?t rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1267889 } } GROUP BY ?t } . FILTER ( ?p = ?s ) }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?o WHERE { { ?o property:located_next_to_body_of_water ?x . ?x rdf:type ontology:waterway . ?o rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:body_of_water . ?o rdf:type ontology:political_territorial_entity . ?o property:located_next_to_body_of_water ?x } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?t WHERE { { ?t property:located_next_to_body_of_water ?v . ?t rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:body_of_water } UNION { ?t property:located_next_to_body_of_water ?v . ?t rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:waterway } } GROUP BY ?t } . FILTER ( ?p = ?s ) }
[]
waterway body of water political territorial entity
Q16 Q40 Q643919
SYSTEM
Canada, Austria, Torfaen County Borough
Q736872 Q434192 Q21590062 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q49562 Q52626 Q677038 Q540185 Q484552 Q433632 Q983556 Q193780 Q635308 Q741749 Q983465 Q2772 Q4359878 Q353618 Q4524665 Q983628 Q846153 Q925913 Q830969 Q846159 Q1324548 Q40 Q962773 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q11339 Q55845 Q210887 Q2323549 Q594892 Q582901 Q1853429 Q4408930 Q587114 Q434321 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q985598 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q716384 Q499184 Q13462 Q986364 Q956757 Q1798827 Q2244278 Q693258 Q736926 Q433918 Q434019 Q986359 Q575670 Q926410 Q1768232 Q698246 Q15907 Q624967 Q1606460 Q832984 Q11286 Q13150 Q913492 Q1628788 Q13154 Q176624 Q2451327 Q24342199 Q11811 Q426350 Q738674 Q7165 Q983433 Q524431 Q985586 Q1248474 Q11296 Q13424648 Q277302 Q628446 Q366948 Q492741 Q11822 Q932914 Q492748 Q434150 Q944264 Q943431 Q920391 Q399702 Q491786 Q2140 Q985599 Q983635 Q706892 Q615061 Q953876 Q3741 Q657800 Q638013 Q492737 Q433958 Q492735 Q1588135 Q4469165 Q827393 Q11304 Q1260011 Q737440 Q657738 Q584446 Q427330 Q682964 Q171852 Q1607872 Q2110 Q433986 Q501077 Q80967 Q994034 Q586584 Q983577 Q611250 Q615916 Q986727 Q181633 Q643919 Q487268 Q207176 Q736888 Q175057 Q398588 Q1110355 Q434173 Q575639 Q597201 Q434286 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q1267889)|c(Q15324))
action argmin
action union
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
action find_tuple_counts
relation P206
type Q1048835
type Q15324
[ANSWERS] are located next to min number of waterways or bodies of water
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?o WHERE { { ?o property:P206 ?x . ?x rdf:type ontology:Q1267889 . ?o rdf:type ontology:Q1048835 } UNION { ?x rdf:type ontology:Q15324 . ?o rdf:type ontology:Q1048835 . ?o property:P206 ?x } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?t WHERE { { ?t property:P206 ?v . ?t rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15324 } UNION { ?t property:P206 ?v . ?t rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1267889 } } GROUP BY ?t } . FILTER ( ?p = ?s ) }
Ayamonte San Andrés y Sauces Antarctic Treaty area Garafía El Sauzal Chantada Soutomaior Llanybydder Adra Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Santa Eulària des Riu West Sumatra Pisocine Adeje Szychtory Sant Joan de Labritja San Roque Los Barrios Betancuria Puerto Real El Pinar, Canary Islands Austria San Bartolomé, Las Palmas Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Llançà Telde Sanlúcar de Barrameda Yaiza, Las Palmas La Oliva Lújar Valverde Sasiv Itamaracá Villa de Mazo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Moya, Las Palmas Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Arucas, Las Palmas Roquetas de Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Gáldar, Las Palmas La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Algarrobo Trillo Arona, Tenerife Rota Arafo Malpica de Tajo Conil de la Frontera Castelló d'Empúries Torrox Manilva El Puente del Arzobispo Barbate El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Tazacorte Santa Lucía de Tirajana Portbou Güímar Fasnia Tuineje, Las Palmas Rincón de la Victoria Colera Troitske Chiclana de la Frontera Mogán, Las Palmas Los Llanos de Aridane Vélez-Málaga Roses Alajeró, Santa Cruz de Tenerife Estepona Puntagorda Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava Agüimes, Las Palmas Calvià North Sumatra Province Ingenio, Las Palmas Sant Josep de sa Talaia Artenara, Las Palmas Rubite Los Realejos Special Region of Yogyakarta Santa Úrsula Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Uhrynów Vejer de la Frontera L'Escala Hermigua Teguise Arico Valle Gran Rey Salobreña Los Silos Odessa Oblast Piedralaves Lampung Province Breña Baja Lepe Outer Hebrides Variazh Nînovîci, La Matanza de Acentejo Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Torfaen County Borough Candelaria Monmouthshire Punta Umbría Fernando de Noronha Agulo Níjar Puntallana Gualchos Lake of the Woods, Ontario Tijarafe Buenavista del Norte Mañón Berja Enix, Spain
Canada, Austria and Torfaen County Borough are located next to min number of waterways or bodies of water
Canada Austria Torfaen County Borough
action argmin
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?s ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) ?o WHERE { { ?o property:located_next_to_body_of_water ?x . ?x rdf:type ontology:waterway . ?o rdf:type ontology:political_territorial_entity } UNION { ?x rdf:type ontology:body_of_water . ?o rdf:type ontology:political_territorial_entity . ?o property:located_next_to_body_of_water ?x } } GROUP BY ?o } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?t WHERE { { ?t property:located_next_to_body_of_water ?v . ?t rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:body_of_water } UNION { ?t property:located_next_to_body_of_water ?v . ?t rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:waterway } } GROUP BY ?t } . FILTER ( ?p = ?s ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16 Q40 Q643919
P47
Q1048835
USER
Which political territories are bordered by those ones ?
(Q16,P47,c(Q1048835)) (Q40,P47,c(Q1048835)) (Q643919,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
['Q16', 'P47', {'concept': 'Q1048835'}] ['Q40', 'P47', {'concept': 'Q1048835'}] ['Q643919', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . VALUES ( ?n ) { ( resource:Q736872 ) ( resource:Q434192 ) ( resource:Q21590062 ) } . ?n property:P47 ?t }
Canada Austria Torfaen County Borough
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Austria', 'shares border with', {'concept': 'political territorial entity'}] ['Torfaen County Borough', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . VALUES ( ?n ) { ( resource:Ayamonte ) ( resource:San_Andrés_y_Sauces ) ( resource:Antarctic_Treaty_area ) } . ?n property:shares_border_with ?t }
[]
political territorial entity
Q183 Q748065 Q207176
SYSTEM
Germany, Caerphilly County Borough, Monmouthshire
Q4969463 Q38610 Q34617 Q183 Q748065 Q207176 Q11294004 Q596885
(Q16,P47,c(Q1048835)) (Q40,P47,c(Q1048835)) (Q643919,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
[ANSWERS] are bordered by those ones
['Q16', 'P47', {'concept': 'Q1048835'}] ['Q40', 'P47', {'concept': 'Q1048835'}] ['Q643919', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1048835 . VALUES ( ?n ) { ( resource:Q736872 ) ( resource:Q434192 ) ( resource:Q21590062 ) } . ?n property:P47 ?t }
British Arctic Territories Dominion of Newfoundland Saint Pierre and Miquelon Germany Caerphilly County Borough Monmouthshire Newport City Blaenau Gwent County Borough
Germany, Caerphilly County Borough and Monmouthshire are bordered by those ones
Germany Caerphilly County Borough Monmouthshire
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Canada', 'shares border with', {'concept': 'political territorial entity'}] ['Austria', 'shares border with', {'concept': 'political territorial entity'}] ['Torfaen County Borough', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:political_territorial_entity . VALUES ( ?n ) { ( resource:Ayamonte ) ( resource:San_Andrés_y_Sauces ) ( resource:Antarctic_Treaty_area ) } . ?n property:shares_border_with ?t }
[]