Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Onurmx2
.
Toggle Highlighting
SQL
SELECT ?border ?borderLabel ?country1Label ?country2Label ?isLandBorder ?isMaritimeBorder ?constraint { VALUES (?country1) {(wd:Q183)} ?border wdt:P31 wd:Q12413618 ; wdt:P17 ?country1 , ?country2 . FILTER (?country1 != ?country2) BIND (EXISTS {?border wdt:P31 wd:Q15104814} AS ?isLandBorder) BIND (EXISTS {?border wdt:P31 wd:Q3089219} AS ?isMaritimeBorder) BIND ((?isLandBorder|| ?isMaritimeBorder) AS ?constraint) SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". } } ORDER BY ?country1Label
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...