template.tospin.rul Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-core Show documentation
Show all versions of corese-core Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
"
}
where {
}
]]>
" str(?title) ""
}
where {
}
]]>
.
template st:page {
"SPARQL-SPIN Translator
"
if (strcontains(st:get(st:service), "tospin"),
st:call-template(st:tospin),
st:call-template(st:tosparql))
}
where {
}
]]>
Result
subject property object
"""
}
where {
}
]]>
"
"" st:number()
" " st:call-template(st:linkesc, ?x)
" " st:call-template(st:esc, ?p)
" " st:call-template(st:linkesc, ?y)
" "
""
}
where {
?x ?p ?y
filter (?x = coalesce(st:get(st:uri), ?x))
}
order by ?x ?p ?y
]]>
.\n\n"
st:apply-templates-with(st:turtle)
}
where {
}
]]>
SPIN Query
"""
st:get(st:transform)
str(?q)
}
}
where {
}
]]>
SPARQL Query
"""
st:get(st:transform)
str(?q)
}
}
where {
}
]]>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy