From 97b33b48126d1bad9c0fad1685fe1912dfc34bdc Mon Sep 17 00:00:00 2001 From: eliott <eliott.sammier@tetras-libre.fr> Date: Wed, 26 Jun 2024 11:06:30 +0200 Subject: [PATCH] Restrict mt:quiz template to :Exercice instances --- tetras_extraction/macao_12/script/templates/quiz.rq | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tetras_extraction/macao_12/script/templates/quiz.rq b/tetras_extraction/macao_12/script/templates/quiz.rq index 1c83ea51..70be7c84 100644 --- a/tetras_extraction/macao_12/script/templates/quiz.rq +++ b/tetras_extraction/macao_12/script/templates/quiz.rq @@ -13,18 +13,9 @@ template mt:quiz(?quiz) { ']' } '}' -# format { -# """ -# { -# "elements": [ -# %s -# ] -# } -# """ -# box { st:call-template(mt:qcu, ?quiz) } -# } } where { + ?quiz a :Exercice ?quiz :id ?id . } -- GitLab