sttl.turtlehtml.main.main.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.
#
# Turtle Pretty Printer
# Olivier Corby, Wimmics Inria I3S, 2013
#
prefix rs:
template st:main {
st:clean(st:prolog("prefix"))
st:nl()
str(?main)
}
where {
bind (exists { ?rs a rs:ResultSet } && ! st:get(st:param, "verbatim") as ?b)
bind (if (?b, true, st:export(st:uri, st:focus())) as ?e)
bind (if (?b,
st:call-template(st:resultset),
st:apply-templates-with(st:turtlehtml)) as ?main)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy