Skip to content

Commit

Permalink
Merge pull request #485 from lblod/hotfix/remove-language-tags-skos-n…
Browse files Browse the repository at this point in the history
…otation

Fix skos:notation ADMS:identifier language tags
  • Loading branch information
cecemel authored Dec 11, 2024
2 parents adb54c3 + 1b2f9d4 commit b9db4d3
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
DELETE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s <http://www.w3.org/2004/02/skos/core#notation> ?notation.
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s <http://www.w3.org/2004/02/skos/core#notation> ?plainNotation.
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?s a <http://www.w3.org/ns/adms#Identifier>;
<http://www.w3.org/2004/02/skos/core#notation> ?notation.
}

BIND(LANG(?notation) as ?lang)
BIND(STR(?notation) as ?plainNotation)
FILTER(?lang != "")
}

0 comments on commit b9db4d3

Please sign in to comment.