sttl.cdn.event.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.
prefix cn:
prefix foaf:
prefix o:
prefix w:
prefix r:
template {
if (bound(?link),
st:call-template(cn:href, ?in, ?link, ?ctx, ?ic),
?ctx)
" " ?c " " ?l
}
where {
?in cn:date ?d ; rdfs:label ?ctx .
optional { ?in cn:link ?lnk }
optional { ?in rdfs:comment ?c }
optional { ?in cn:list ?l }
optional { ?in st:icon ?ii }
bind (
if (bound(?ii), ?ii,
if (isURI(?in), st:call-template(cn:geticon, ?in), ""))
as ?ic)
bind (
if (isURI(?in) && strstarts(?in, r:),
concat(w:, (substr(?in, strlen(r:) + 1))),
?lnk)
as ?link)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy