From 3ca0fcb9eae7399c7570cf644db4a1cace00752a Mon Sep 17 00:00:00 2001 From: flange <38500-flange@users.noreply.git.rwth-aachen.de> Date: Thu, 30 Jan 2025 19:27:07 +0100 Subject: [PATCH] update facet items --- project/dalia/query/items/facets/facet_objects.py | 3 +++ project/dalia/rdf/namespace/hcrt.py | 1 + 2 files changed, 4 insertions(+) diff --git a/project/dalia/query/items/facets/facet_objects.py b/project/dalia/query/items/facets/facet_objects.py index 971a3ee..657c3b3 100644 --- a/project/dalia/query/items/facets/facet_objects.py +++ b/project/dalia/query/items/facets/facet_objects.py @@ -87,6 +87,7 @@ LEARNING_RESOURCE_TYPE_FACET = FacetObject( hcrt.experiment: "Experiment", MoDalia.Lecture: "Lecture", hcrt.lesson_plan: "Lesson Plan", + hcrt.other: "Other resource type", SCHEMA.PodcastSeries: "PodcastSeries", MoDalia.Poster: "Poster", hcrt.index: "Reference Work", @@ -108,7 +109,9 @@ LANGUAGE_FACET = FacetObject( predicate=DCTERMS.language, items={ Literal("en"): "English", + Literal("fr"): "French", Literal("de"): "German", + Literal("es"): "Spanish", }, selected_facet_initializer=Literal, ) diff --git a/project/dalia/rdf/namespace/hcrt.py b/project/dalia/rdf/namespace/hcrt.py index 0f96e60..5223948 100644 --- a/project/dalia/rdf/namespace/hcrt.py +++ b/project/dalia/rdf/namespace/hcrt.py @@ -16,6 +16,7 @@ educational_game = URIRef(NS + "educational_game") experiment = URIRef(NS + "experiment") lesson_plan = URIRef(NS + "lesson_plan") index = URIRef(NS + "index") +other = URIRef(NS + "other") slide = URIRef(NS + "slide") text = URIRef(NS + "text") textbook = URIRef(NS + "textbook") -- GitLab