From f2a27aee3567ef5bd29c632e5bcf413d0c7c6d03 Mon Sep 17 00:00:00 2001 From: David de Boer Date: Fri, 8 Nov 2024 13:53:55 +0100 Subject: [PATCH] fix: Filter by skos:Concept in Poolparty sources (#1459) --- .../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)))