Skip to content

Commit

Permalink
feat: Remove deprecated URIs from CHT (#1358)
Browse files Browse the repository at this point in the history
Remove deprecated semnet uri's from exactMatch search and lookup queries for cht

Co-authored-by: RubenSchalk <[email protected]>
Co-authored-by: David de Boer <[email protected]>
  • Loading branch information
3 people committed Jun 19, 2024
1 parent 8d1d54f commit 6efea5a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ WHERE {
OPTIONAL {
?uri skos:exactMatch ?exactMatch_uri .
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/term/id/rn"))
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/semnet"))
OPTIONAL {
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
FILTER(LANG(?exactMatch_prefLabel) = "nl")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ WHERE {
OPTIONAL {
?uri skos:exactMatch ?exactMatch_uri .
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/term/id/rn"))
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/semnet"))
OPTIONAL {
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
FILTER(LANG(?exactMatch_prefLabel) = "nl")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ WHERE {
OPTIONAL {
?uri skos:exactMatch ?exactMatch_uri .
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/term/id/rn"))
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/semnet"))
OPTIONAL {
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
FILTER(LANG(?exactMatch_prefLabel) = "nl")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ WHERE {
OPTIONAL {
?uri skos:exactMatch ?exactMatch_uri .
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/term/id/rn"))
FILTER(!STRSTARTS(STR(?exactMatch_uri), "https://data.cultureelerfgoed.nl/semnet"))
OPTIONAL {
?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel .
FILTER(LANG(?exactMatch_prefLabel) = "nl")
Expand Down

0 comments on commit 6efea5a

Please sign in to comment.