From b780c840d240c483a07cd84c387ed56451f48aee Mon Sep 17 00:00:00 2001 From: rschalkrce <127215917+rschalkrce@users.noreply.github.com> Date: Thu, 19 Sep 2024 14:24:51 +0200 Subject: [PATCH] feat: Update Rijksmonumenten query (#1429) Switch to sdo:addressRegion instead of sdo:State --- .../catalog/queries/search/rijksmonumenten.rq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/network-of-terms-catalog/catalog/queries/search/rijksmonumenten.rq b/packages/network-of-terms-catalog/catalog/queries/search/rijksmonumenten.rq index a4b0aea6..ab2f18d2 100644 --- a/packages/network-of-terms-catalog/catalog/queries/search/rijksmonumenten.rq +++ b/packages/network-of-terms-catalog/catalog/queries/search/rijksmonumenten.rq @@ -16,7 +16,7 @@ CONSTRUCT { WHERE { ?uri ?predicate ?label . FILTER(CONTAINS(LCASE(?label), LCASE(?query))) - VALUES ?predicate { schema:addressLocality schema:identifier schema:address schema:name schema:State } + VALUES ?predicate { schema:addressLocality schema:identifier schema:address schema:name schema:addressRegion } ?uri schema:name ?naam ; schema:identifier ?rijksmonumentnummer ; @@ -24,7 +24,7 @@ WHERE { schema:postalCode ?postcode ; schema:additionalType ?functie ; schema:addressLocality ?woonplaats ; - schema:State ?provincie ; + schema:addressRegion ?provincie ; schema:sameAs ?monument_url . BIND(CONCAT("Rijksmonumentnummer ", ?rijksmonumentnummer) as ?rijksmonumentnummer_tn)