Updated add province uri migration to avoid duplicates Added a cleanup migration for adding province URIs to addresses Updated the export,json config to expose the province URI of addresses Fixing errors after review Updated CHANGELOG Refactored and corrected migrations, changed the timestamps refactoring cleanup migrations Refactored the cleanup add province migrations Updated changelog to ensure db-cleanup-service picks up the new jobs.
27 lines
873 B
SPARQL
27 lines
873 B
SPARQL
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
PREFIX concept_schemes: <http://data.lblod.info/doc/conceptscheme#>
|
|
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
|
PREFIX dcterms: <http://purl.org/dc/terms/>
|
|
|
|
INSERT DATA {
|
|
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
concept_schemes:ProvincesConceptScheme a skos:ConceptScheme ;
|
|
skos:prefLabel "Provinces Concept Scheme" ;
|
|
dcterms:description "A concept scheme containing all the location entities that are provinces".
|
|
}
|
|
}
|
|
|
|
;
|
|
|
|
INSERT
|
|
{
|
|
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
?province_uri rdf:type skos:Concept ;
|
|
skos:inScheme concept_schemes:ProvincesConceptScheme .
|
|
}
|
|
} WHERE {
|
|
GRAPH <http://mu.semte.ch/graphs/public> {
|
|
?province_uri ext:werkingsgebiedNiveau "Provincie".
|
|
}
|
|
}
|