38 lines
1.2 KiB
SPARQL
38 lines
1.2 KiB
SPARQL
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
prefix skos: <http://www.w3.org/2004/02/skos/core#>
|
|
PREFIX org: <http://www.w3.org/ns/org#>
|
|
PREFIX ere: <http://data.lblod.info/vocabularies/erediensten/>
|
|
|
|
insert data {
|
|
graph <http://mu.semte.ch/graphs/public> {
|
|
|
|
<http://data.vlaanderen.be/id/concept/RepresentatiefOrgaanClassificatieCode/89a00b5a-024f-4630-a722-65a5e68967e5>
|
|
rdf:type <http://mu.semte.ch/vocabularies/ext/RepresentatieveOrgaanClassificatieCode> , skos:Concept ;
|
|
<http://mu.semte.ch/vocabularies/core/uuid> "89a00b5a-024f-4630-a722-65a5e68967e5" ;
|
|
skos:topConceptOf <https://data.vlaanderen.be/id/conceptscheme/RepresentatiefOrgaanClassificatieCode> ;
|
|
skos:prefLabel "Representatief orgaan" ;
|
|
skos:inScheme <https://data.vlaanderen.be/id/conceptscheme/RepresentatiefOrgaanClassificatieCode> .
|
|
}
|
|
}
|
|
|
|
;
|
|
|
|
|
|
INSERT {
|
|
graph <http://mu.semte.ch/graphs/worship-service> {
|
|
|
|
?representativeBody org:classification <http://data.vlaanderen.be/id/concept/RepresentatiefOrgaanClassificatieCode/89a00b5a-024f-4630-a722-65a5e68967e5>.
|
|
|
|
}
|
|
}
|
|
WHERE {
|
|
graph <http://mu.semte.ch/graphs/worship-service> {
|
|
|
|
?representativeBody a ere:RepresentatiefOrgaan.
|
|
FILTER NOT EXISTS {
|
|
?representativeBody org:classification ?classification.
|
|
}
|
|
}
|
|
|
|
}
|