From 8b5f65781b87939ba0949126ada3dbdc14223b1c Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Tue, 25 May 2021 15:11:29 +0200 Subject: [PATCH] Add template for semantic SPARQL query global outline (#455) --- frontend/src/semantic-search/query-template.hbs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 frontend/src/semantic-search/query-template.hbs diff --git a/frontend/src/semantic-search/query-template.hbs b/frontend/src/semantic-search/query-template.hbs new file mode 100644 index 00000000..c3c38a87 --- /dev/null +++ b/frontend/src/semantic-search/query-template.hbs @@ -0,0 +1,8 @@ +{{>sparqlPreamble}} + +CONSTRUCT { + ?item ?p ?o +} FROM {{{sourceGraph}}} WHERE { + ?item ?p ?o. + {{{body}}} +}