Skip to content
Snippets Groups Projects
Commit 80ca03f5 authored by Eliott Sammier's avatar Eliott Sammier
Browse files

Replace test prefix with Macao prefix

parent b4c5a69b
Branches
No related tags found
No related merge requests found
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
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#>
......
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 .
......
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) {
......
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) {
......
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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment