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

sttl.calcontent.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
#
# Display a calendar and a graph content
# ?uri = st:y2000 | st:dyyyy-mm-dd
#
template st:main {

  "

" st:get(st:title) "

" st:call-template-with(st:calendar, st:main, ?year) st:call-template(st:content, ?year) } where { bind (st:get(st:uri) as ?uri) bind (substr(?uri, strlen(st:) + 2) as ?str) bind (if (contains(?str, "-"), strbefore(?str, "-"), ?str) as ?tmp) bind (coalesce(xsd:integer(?tmp), year(now())) as ?year) bind (st:export(st:service, st:get(st:service)) as ?serv) bind (st:export(st:profile, st:get(st:profile)) as ?prof) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy