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

sttl.dbedit.month.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
#
# URI 
# translated as "10/2015"^^xsd:gYearMonth
#
template st:month {

  st:call-template(st:title, ?date)

  format {

    """

%s

""" if (bound(?type), st:call-template(st:dbpediafortype, ?date, ?type), st:call-template(st:dbpediafortest, ?date)) } st:call-template(st:title, ?date) st:call-template(st:tail) } where { bind (st:get(st:uri) as ?uri) # type of resoures to focus on bind (st:get(st:mode) as ?type) bind (strafter(?uri, us:root()) as ?str) bind (strdt(?str, xsd:gYearMonth) as ?date) bind (st:set(st:date, ?date) as ?tmp) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy