Open NilsOveTen opened 2 weeks ago
forslag til sparql:
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX atres: <http://publications.europa.eu/resource/authority/>
CONSTRUCT {
?continent a dct:Location .
?continent dct:identifier ?code .
?continent dct:title ?prefLabel .
} WHERE {
?continent skos:inScheme atres:continent .
?continent a skos:Concept .
?continent dc:identifier ?code .
FILTER(?code != 'OP_DATPRO') .
?continent skos:prefLabel ?prefLabel .
FILTER(
LANG(?prefLabel) = 'en' ||
LANG(?prefLabel) = 'no' ||
LANG(?prefLabel) = 'nb' ||
LANG(?prefLabel) = 'nn'
)
}
ref https://data.norge.no/specification/dcat-ap-no#Skal-brukes-for-spatial og https://data.norge.no/specification/modelldcat-ap-no#Skal-brukes-for-spatial
Disse tre vokabularene skal brukes for
dct:spatial
: http://publications.europa.eu/resource/authority/continent http://publications.europa.eu/resource/authority/country http://publications.europa.eu/resource/authority/placePer nå støttes ingen av de i data.norge, for å gjøre det må de først legges til her i reference-data.