sttl.dbedit.title.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-core Show documentation
Show all versions of corese-core Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
#
# Generate title
# Generate Navigation links to month before and after,
# to year before and after
#
template st:title(?date) {
format {
"""
DBpedia History %s
%s << %s << %s >> %s >> %s
"""
?date
st:call-template(st:link, us:year(?date, -1))
st:call-template(st:link, us:before(?date))
?date
st:call-template(st:link, us:after(?date))
st:call-template(st:link, us:year(?date, 1))
}
}
where {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy