sttl.turtle.init.rq 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.
#
# defaut processing of a variable is st:apply-templates
#
# Olivier Corby, Wimmics Inria I3S, 2014
#
template st:profile(?in) {
}
where {}
function st:process(?in) {
if (isBlank(?in), st:apply-templates(?in),
if (isLiteral(?in), st:pretty(?in),
st:turtle(?in)))
}
function st:pretty(?in){
if (datatype(?in) = xt:graph) {str(?in)}
else {st:turtle(?in)}
}
function st:default(?in) {
st:turtle(?in)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy