Czech Administrative units via SPARQLΒΆ
- Dataset:
- Protocol:
- Url:
- Graph:
https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/
To test the data source, use HTTPie - Command line HTTP Client or SPARQL Query Editor to execute the query:
# return IRI of the first 3 administrative areas
PREFIX adu: <http://cef.uv.es/lodroadtran18/def/transporte/dtx_srti/administrativeUnit#>
SELECT ?region
# graph with ontology
FROM <http://cef.uv.es/lodroadtran18/def/transporte/dtx_srti/administrativeUnit#>
# graph with gazetteer
FROM <https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/>
WHERE {
?region rdf:type/rdfs:subClassOf* adu:AdmUnitOfCzechia
}
LIMIT 3
What shall result in following result (here using CSV):
"region"
"https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/108"
"https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/116"
"https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/124"
showing IRI of the first three administrative units.
To learn more about the region 124 use the query:
DESCRIBE <https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/124>
Result in turtle format shall look like:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/124>
rdf:type <http://cef.uv.es/lodroadtran18/def/transporte/dtx_srti/administrativeUnit#Kraj> ;
rdfs:label "Kraj #124" ;
owl:sameAs <http://sws.geonames.org/3339542> , <https://vdp.cuzk.cz/vdp/ruian/vusc/124> ;
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/belongToCountryCZ> <https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/St\u00E1t/1> ;
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/nutsCode> <http://data.europa.eu/nuts/code/CZ071> ;
<http://purl.org/dc/terms/title> "Olomouck\u00FD kraj" ;
<http://cef.uv.es/lodroadtran18/def/transporte/dtx_srti/administrativeUnit#alertcCode> "2.25.91" ;
<http://cef.uv.es/lodroadtran18/def/transporte/dtx_srti/administrativeUnit#level> 3 ;
<http://cef.uv.es/lodroadtran18/def/transporte/dtx_srti/administrativeUnit#name> "Olomouck\u00FD kraj" ;
<http://cef.uv.es/lodroadtran18/def/transporte/dtx_srti/administrativeUnit#regionCode> "CZ071" ;
<http://cef.uv.es/lodroadtran18/def/transporte/dtx_srti/administrativeUnit#ruianCode> "124" .
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Okres/3709>
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/belongToRegion> <https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/124> .
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Okres/3805>
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/belongToRegion> <https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/124> .
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Okres/3808>
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/belongToRegion> <https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/124> .
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Okres/3809>
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/belongToRegion> <https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/124> .
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Okres/3811>
<https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/belongToRegion> <https://lod.tamtamresearch.com/resource/dtx_srti/administrativeUnit/Kraj/124> .
Previous: Czech Roads via SPARQL | Next: Guides