From a6dc9fe8e0e469e63621b396f47a7679f428d771 Mon Sep 17 00:00:00 2001 From: Miroslav Blasko Date: Sun, 19 Nov 2023 13:26:04 +0100 Subject: [PATCH] [Upd] Make generic pattern how to retrieve form template --- src/main/resources/query/findFormTemplates.rq | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/resources/query/findFormTemplates.rq b/src/main/resources/query/findFormTemplates.rq index 06d915df..c85166eb 100644 --- a/src/main/resources/query/findFormTemplates.rq +++ b/src/main/resources/query/findFormTemplates.rq @@ -1,10 +1,12 @@ prefix rdfs: -prefix skos: -prefix ft: -prefix dc: +prefix form: . CONSTRUCT { - rdfs:label "Evaluation" . - rdfs:comment "Vita Study Evaluation" . + ?formTemplate a form:form-template . + ?formTemplate rdfs:label ?formTemplateLabel . + ?formTemplate rdfs:comment ?formTemplateComment . } WHERE { + ?formTemplate a form:form-template . + ?formTemplate rdfs:label ?formTemplateLabel . + ?formTemplate rdfs:comment ?formTemplateComment . } \ No newline at end of file