
sttl.calendar.content.rq Maven / Gradle / Ivy
The newest version!
prefix cal:
template st:content(?year) {
format {
"""
%s
%s
"""
str(?dd)
str(?dd)
group {
format {
"%s"
st:plink(?x, st:dbpedia)
str(?title)
}
; separator = "
"
}
}
}
where {
{select distinct ?x ?date
where {
?x ?p ?date
filter (datatype(?date) in (xsd:date, xsd:dateTime))
}}
filter (year(?date) = ?year)
bind (cal:date(year(?date), month(?date), day(?date)) as ?dd)
?x rdfs:label ?l
bind (if (bound(?l), ?l, ?x) as ?title)
}
group by ?date
order by ?date
© 2015 - 2025 Weber Informatics LLC | Privacy Policy