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

sttl.web.start.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
#
# SPARQL Tutorial
# st:get(st:uri) is the name of a query to execute (st:minus)
# It is used 1) to select a query and 2) to display the result of the query
# RDF graph is either RDF dataset or Query Result
# Query definitions are stored in st:context named graph 
#
template st:start {

  st:head()

  st:call-template(st:head)
    
  st:call-template(st:selectform, ?uri)
  
  st:call-template(st:display, ?uri)
   
  st:call-template(st:tail)

  st:tail()
}
where {

  bind (coalesce(st:get(st:uri), st:intro) as ?uri)

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy