reteplayground
Select

Districts of a country (admin-2)

SELECT ?district ?boundary WHERE {
  ?d a class:District ; g:country "ES" ; schema:name ?dis…
} LIMIT 400
Run this query → no server · no download · no account
caviri.github.io/rete
Run this query in the playground → 52 mapped feature(s) · 13 ms · no server, no download — the query runs in your browser.

The query

PREFIX g: <https://w3id.org/rete/geoadmin/prop/> PREFIX schema: <http://schema.org/> PREFIX geo: <http://www.opengis.net/ont/geosparql#> PREFIX class: <https://w3id.org/rete/geoadmin/class/> SELECT ?district ?boundary WHERE { ?d a class:District ; g:country "ES" ; schema:name ?district ; geo:asWKT ?boundary . } LIMIT 400

rete playground · documentation · github.com/caviri/rete