From ad9896a12522f632f7fa391d78bd35be8069aa34 Mon Sep 17 00:00:00 2001 From: flange <38500-flange@users.noreply.git.rwth-aachen.de> Date: Wed, 19 Mar 2025 20:42:57 +0100 Subject: [PATCH] fix test --- .../items/facets/test_existing_facet_items_in_database.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/project/dalia/query/items/facets/test_existing_facet_items_in_database.py b/tests/project/dalia/query/items/facets/test_existing_facet_items_in_database.py index e0dca0c..083f38a 100644 --- a/tests/project/dalia/query/items/facets/test_existing_facet_items_in_database.py +++ b/tests/project/dalia/query/items/facets/test_existing_facet_items_in_database.py @@ -21,17 +21,14 @@ def test_prepare_query_for_getting_existing_facet_items_in_text_search_for_facet { ( ?s ?score ) <http://jena.apache.org/text#query> ( <http://dalia.education/text#learningResourceTexts> "*" ) . OPTIONAL { - FILTER ( ISBLANK ( ?s ) ) . ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?type . FILTER ( ?type = <https://schema.org/Person> || ?type = <https://schema.org/Organization> ) . - ?list <http://jena.apache.org/ARQ/list#member> ?s . - ?lr <https://schema.org/author> ?list . + ?lr <https://dalia.education/authorUnordered> ?s . OPTIONAL { ?lr <https://schema.org/datePublished> ?created . } . } . OPTIONAL { - FILTER ( !ISBLANK ( ?s ) ) . ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://github.com/tibonto/educor#EducationalResource> . OPTIONAL { ?s <https://schema.org/datePublished> ?created . -- GitLab