
sttl.turtle1.uri.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.
The newest version!
#
# Turtle Pretty Printer
# Olivier Corby, Wimmics Inria I3S, 2013
#
template {
str(?triple)
str(?tuple)
}
where {
?in ?pp ?y
filter isURI(?in)
bind (st:call-template(st:urivalue, ?in) as ?pvalue)
bind (st:call-template(st:tuple, ?in) as ?tuple)
bind (if (strlen(?pvalue) > 0,
st:format("%s %s%s", st:turtle(?in), ?pvalue, if (strlen(?tuple) > 0, " .", "")),
"") as ?triple)
}
limit 1
© 2015 - 2025 Weber Informatics LLC | Privacy Policy