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

template.hturtle.rul 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





\n"
  st:tail()
  
}
where {

}

]]>





\n"
  
}
where {

}

]]>












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)
    
}

]]>

















 0)
  
}

]]>







template st:result {

  "

Turtle

\n" st:call-template(st:start) } where { } ]]>
template st:resultset { str(?res) ; separator = "\n\n" } where { ?rs rs:solution ?s ?s rs:index ?i ?s rs:binding [ rs:variable ?var ; rs:value ?val ] graph eng:dataset { bind (st:apply-templates-with(st:turtlehtml, ?val) as ?res) } } order by ?i ?var ]]>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy