From 93634d98d3768d19c1e7f422d71a1db42ca769e2 Mon Sep 17 00:00:00 2001 From: David de Boer Date: Mon, 4 Nov 2024 15:07:16 +0100 Subject: [PATCH] fix: Filter by skos:Concept in Poolparty sources --- .../catalog/queries/search/poolparty.rq | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/network-of-terms-catalog/catalog/queries/search/poolparty.rq b/packages/network-of-terms-catalog/catalog/queries/search/poolparty.rq index 5ee78071..555b6b58 100644 --- a/packages/network-of-terms-catalog/catalog/queries/search/poolparty.rq +++ b/packages/network-of-terms-catalog/catalog/queries/search/poolparty.rq @@ -16,7 +16,8 @@ CONSTRUCT { ?exactMatch_uri skos:prefLabel ?exactMatch_prefLabel . } WHERE { - ?uri ?predicate ?label . + ?uri a skos:Concept ; + ?predicate ?label . VALUES ?predicate { skos:prefLabel skos:altLabel } FILTER(LANG(?label) = "nl") FILTER(CONTAINS(LCASE(?label), LCASE(?query)))