diff --git a/tetras_extraction/macao_12/script/templates/functions.rq b/tetras_extraction/macao_12/script/templates/functions.rq index 65b0dffce170abc255d56e648b4298e3abf0a423..ca58bcbcdb6ba15c9b9091070fd5346cdab29b4c 100644 --- a/tetras_extraction/macao_12/script/templates/functions.rq +++ b/tetras_extraction/macao_12/script/templates/functions.rq @@ -1,5 +1,5 @@ PREFIX : <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/> -PREFIX testtl: <http://www.semanticweb.org/eliott/test/> +PREFIX mt: <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/template/> PREFIX st: <http://ns.inria.fr/sparql-template/> template st:profile {} @@ -10,6 +10,6 @@ function st:process(?x) { if (isLiteral(?x), st:format("%s", ?x), st:turtle(?x)) } -function testtl:sep() { +function mt:sep() { st:format(",%s", st:nl()) } \ No newline at end of file diff --git a/tetras_extraction/macao_12/script/templates/main.rq b/tetras_extraction/macao_12/script/templates/main.rq index c7ce4860dd7341da1b464460e02b2fedee3c17f3..856f4f46bf302cabf8acfc5158f11db12a8eeb4c 100644 --- a/tetras_extraction/macao_12/script/templates/main.rq +++ b/tetras_extraction/macao_12/script/templates/main.rq @@ -1,5 +1,5 @@ PREFIX : <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/> -PREFIX testtl: <http://www.semanticweb.org/eliott/test/> +PREFIX mt: <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/template/> PREFIX st: <http://ns.inria.fr/sparql-template/> PREFIX owl: <http://www.w3.org/2002/07/owl#> diff --git a/tetras_extraction/macao_12/script/templates/page.rq b/tetras_extraction/macao_12/script/templates/page.rq index 109fc6c38a8688b65878e8723d1df29752048c45..bc6b037f81921874b8f4ad0b77fa638e88c51d02 100644 --- a/tetras_extraction/macao_12/script/templates/page.rq +++ b/tetras_extraction/macao_12/script/templates/page.rq @@ -1,5 +1,5 @@ PREFIX : <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/> -PREFIX testtl: <http://www.semanticweb.org/eliott/test/> +PREFIX mt: <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/template/> PREFIX st: <http://ns.inria.fr/sparql-template/> PREFIX owl: <http://www.w3.org/2002/07/owl#> @@ -18,7 +18,7 @@ title = "%s" ?desc } "-------------------------------------------------------------------------" - st:call-template(testtl:quiz, ?subj) + st:call-template(mt:quiz, ?subj) } where { ?subj a :Page . diff --git a/tetras_extraction/macao_12/script/templates/qcu.rq b/tetras_extraction/macao_12/script/templates/qcu.rq index 5047c4a27c1c4c6bbff16d4e02b22b901fbe81c8..bb9aebd41fa25ec30490c88284ce5959b3345a0e 100644 --- a/tetras_extraction/macao_12/script/templates/qcu.rq +++ b/tetras_extraction/macao_12/script/templates/qcu.rq @@ -1,5 +1,5 @@ PREFIX : <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/> -PREFIX mt: <http://www.semanticweb.org/eliott/test/> +PREFIX mt: <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/template/> PREFIX st: <http://ns.inria.fr/sparql-template/> template mt:qcu(?qcu) { diff --git a/tetras_extraction/macao_12/script/templates/qcu_choices.rq b/tetras_extraction/macao_12/script/templates/qcu_choices.rq index 988ed9dd8227426aa6dc42997b1ffa9c9fbcbcfc..7d2ac2d1b48ed0ee340f71f2c3a36a3a563683ac 100644 --- a/tetras_extraction/macao_12/script/templates/qcu_choices.rq +++ b/tetras_extraction/macao_12/script/templates/qcu_choices.rq @@ -1,5 +1,5 @@ PREFIX : <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/> -PREFIX mt: <http://www.semanticweb.org/eliott/test/> +PREFIX mt: <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/template/> PREFIX st: <http://ns.inria.fr/sparql-template/> template mt:qcu_choices(?qcu) { diff --git a/tetras_extraction/macao_12/script/templates/quiz.rq b/tetras_extraction/macao_12/script/templates/quiz.rq index 26dd97f119596bcab38fff83dc60f00e302e5459..1c83ea51ec62bb115649919161607811cc6d39f6 100644 --- a/tetras_extraction/macao_12/script/templates/quiz.rq +++ b/tetras_extraction/macao_12/script/templates/quiz.rq @@ -1,14 +1,14 @@ PREFIX : <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/> -PREFIX testtl: <http://www.semanticweb.org/eliott/test/> +PREFIX mt: <http://www.semanticweb.org/eliott/ontologies/2024/4/macao/template/> PREFIX st: <http://ns.inria.fr/sparql-template/> -template testtl:quiz(?quiz) { +template mt:quiz(?quiz) { st:nl() '{' box { '"elements": [' box { - st:call-template(testtl:qcu, ?quiz) + st:call-template(mt:qcu, ?quiz) } ']' } @@ -21,7 +21,7 @@ template testtl:quiz(?quiz) { # ] # } # """ -# box { st:call-template(testtl:qcu, ?quiz) } +# box { st:call-template(mt:qcu, ?quiz) } # } } where {