sttl.cdn.href.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 o:
template cn:href(?r, ?u, ?t, ?i) {
""
if (?img,
concat(st:call-template(cn:img, ?i), "
"),
"")
if (isURI(?r) && ?isp,
st:call-template(st:navlab, ?r, ?t),
st:call-template(cn:hlink, ?u, ?t))
""
}
where {
bind ( exists { ?r a ?tt . filter (?tt in (foaf:Person, o:Place))
} as ?isp )
bind (bound(?i) && strstarts(?i, "http://") as ?img)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy