sttl.dbedit.year.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.
#
#
template st:year {
format {
"""
%s
"""
st:call-template(st:dbpedia10, ?date)
}
}
where {
bind (st:get(st:uri) as ?uri)
bind (strafter(?uri, ) as ?year)
bind (unnest(xt:iota(1, 12)) as ?month)
bind (concat(us:digit(?month), "/", ?year) as ?str)
bind (strdt(?str, xsd:gYearMonth) as ?date)
filter kg:display(?date)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy