From 5b06d2f571185842b70d003ec4b9b07e6ddc52a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Schl=C3=B6gl?= Date: Mon, 21 Aug 2023 16:01:06 +0200 Subject: [PATCH] fix: fixes an issue with the pagination fixes #185 --- intavia_backend/sparql/retrieve_entities_v2_1.sparql | 1 + intavia_backend/sparql/search_v2_1.sparql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/intavia_backend/sparql/retrieve_entities_v2_1.sparql b/intavia_backend/sparql/retrieve_entities_v2_1.sparql index 512831c..ef68413 100644 --- a/intavia_backend/sparql/retrieve_entities_v2_1.sparql +++ b/intavia_backend/sparql/retrieve_entities_v2_1.sparql @@ -1,3 +1,4 @@ +?entity_proxy idmcore:proxy_for ?entity . BIND("no label provided" AS ?defaultEntityLabel) OPTIONAL {?entity_proxy crm:P1_is_identified_by ?appellation . {?appellation a crm:E33_E41_Linguistic_Appellation .} UNION {?appellation a crm:E35_Title} diff --git a/intavia_backend/sparql/search_v2_1.sparql b/intavia_backend/sparql/search_v2_1.sparql index d5e7cf0..b813394 100644 --- a/intavia_backend/sparql/search_v2_1.sparql +++ b/intavia_backend/sparql/search_v2_1.sparql @@ -13,7 +13,7 @@ SELECT ?entity ?entityType ?entityTypeLabel ?entityLabel ?gender ?genderLabel ?n {% include 'add_datasets_v2_1.sparql' %} WITH { -SELECT DISTINCT ?entity ?entityTypeLabel ?score ?entity_proxy +SELECT DISTINCT ?entity ?entityTypeLabel ?score {% include 'add_datasets_v2_1.sparql' %}