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 e0dca0cdfa0f132ac1d647037438397087e29ab0..083f38acfa8458d8fb895c39267868e675fa9229 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 .