Skip to content
Snippets Groups Projects
Commit 2f7184fa authored by Oeyvind Liland Gjesdal's avatar Oeyvind Liland Gjesdal
Browse files

fikser relatert til steder vises ikke, dersom sted har skos:prefLabel

parent 817a88f6
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ SELECT DISTINCT ?uri ?label ?description ?logo WHERE { ...@@ -4,6 +4,7 @@ SELECT DISTINCT ?uri ?label ?description ?logo WHERE {
OPTIONAL { ?uri dct:title ?label . } OPTIONAL { ?uri dct:title ?label . }
OPTIONAL { ?uri rdfs:label ?label .} OPTIONAL { ?uri rdfs:label ?label .}
OPTIONAL { ?uri foaf:name ?label .} OPTIONAL { ?uri foaf:name ?label .}
OPTIONAL { ?uri skos:prefLabel ?label .}
OPTIONAL { ?uri dct:description ?description .} OPTIONAL { ?uri dct:description ?description .}
OPTIONAL { ?uri foaf:logo ?logo .} OPTIONAL { ?uri foaf:logo ?logo .}
FILTER NOT EXISTS { FILTER NOT EXISTS {
...@@ -11,4 +12,4 @@ SELECT DISTINCT ?uri ?label ?description ?logo WHERE { ...@@ -11,4 +12,4 @@ SELECT DISTINCT ?uri ?label ?description ?logo WHERE {
?uri rdf:type ?subclass ?uri rdf:type ?subclass
} }
} }
} }
\ No newline at end of file
...@@ -4,6 +4,7 @@ SELECT DISTINCT ?uri ?description ?logo ?label WHERE { ...@@ -4,6 +4,7 @@ SELECT DISTINCT ?uri ?description ?logo ?label WHERE {
OPTIONAL { ?uri dct:title ?label . } OPTIONAL { ?uri dct:title ?label . }
OPTIONAL { ?uri rdfs:label ?label .} OPTIONAL { ?uri rdfs:label ?label .}
OPTIONAL { ?uri foaf:name ?label .} OPTIONAL { ?uri foaf:name ?label .}
OPTIONAL { ?uri skos:prefLabel ?label .}
OPTIONAL { ?uri dct:description ?description .} OPTIONAL { ?uri dct:description ?description .}
OPTIONAL { ?uri foaf:logo|foaf:img ?logo .} OPTIONAL { ?uri foaf:logo|foaf:img ?logo .}
FILTER NOT EXISTS { FILTER NOT EXISTS {
...@@ -11,4 +12,4 @@ SELECT DISTINCT ?uri ?description ?logo ?label WHERE { ...@@ -11,4 +12,4 @@ SELECT DISTINCT ?uri ?description ?logo ?label WHERE {
?uri rdf:type ?subclass ?uri rdf:type ?subclass
} }
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment