Compare commits

...

2 Commits

Author SHA1 Message Date
Claire Lovisa
3f2ff1f1c0 Add migration to update gender codelist 2022-04-12 15:26:41 +02:00
Nordine Bittich
1b152e688b fix regression mu search (#128) 2022-04-07 12:03:48 +02:00
2 changed files with 43 additions and 1 deletions

View File

@@ -0,0 +1,42 @@
DELETE {
GRAPH ?g {
?s ?p ?o .
}
} WHERE {
GRAPH ?g {
?s ?p ?o .
VALUES ?s {
<http://publications.europa.eu/resource/authority/human-sex/OP_DATPRO>
<http://publications.europa.eu/resource/authority/human-sex/NAP>
}
}
}
;
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
<http://publications.europa.eu/resource/authority/human-sex/NST> a <http://mu.semte.ch/vocabularies/ext/GeslachtCode>,
<http://www.w3.org/2004/02/skos/core#Concept>;
<http://mu.semte.ch/vocabularies/core/uuid> "c11b47dd-cacd-4664-9a72-14730e00eaed";
<http://www.w3.org/2004/02/skos/core#prefLabel> "Ander";
<http://www.w3.org/2004/02/skos/core#topConceptOf> <http://publications.europa.eu/resource/authority/human-sex> ;
<http://www.w3.org/2004/02/skos/core#inScheme> <http://publications.europa.eu/resource/authority/human-sex> .
}
}
;
DELETE {
GRAPH ?g {
<http://publications.europa.eu/resource/authority/human-sex/NKN> skos:prefLabel ?label .
}
} INSERT {
GRAPH ?g {
<http://publications.europa.eu/resource/authority/human-sex/NKN> skos:prefLabel "Niet gekend" .
}
} WHERE {
GRAPH ?g {
<http://publications.europa.eu/resource/authority/human-sex/NKN> skos:prefLabel ?label .
}
}

View File

@@ -339,7 +339,7 @@ services:
# MU SEARCH - TODO USE THE CORRECT IMAGE ONCE INHERITANCE IS IN MU SEARCH
################################################################################
search:
image: nbittich/mu-search:wip-inheritance # Bump to fixed version when merged and release to the original repo
image: nbittich/mu-search:wip-inheritance-alpha2 # Bump to fixed version when merged and release to the original repo
links:
- db:database
restart: always