All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttl.turtlehtml.main.main.rq Maven / Gradle / Ivy

Go to download

Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1 Query and Update.

There is a newer version: 4.6.1
Show newest version
#
# 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