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

sttl.calcontent.date.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 day in the calendar of a month
# May be a link or a number
#
template st:date(?date) {

    if (?b, st:call-template(st:link, ?date), day(?date))
  
}
where {
  values ?date { UNDEF }
  bind (
      exists {   
        values ?date { UNDEF }
        ?x ?p ?dd 
        filter (datatype (?dd) in (xsd:date, xsd:dateTime)) 
        filter (year(?dd) = year(?date) 
            && month(?dd) = month(?date) 
            && day(?dd) = day(?date)) } 
    as ?b)
   
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy