sttl.sparql.show.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.
#
# Get an optional icon from the dataset and display it
#
template st:show(?x) {
format { us:format("img.html") str(?l) }
}
where {
bind (st:get(st:dataset) as ?g)
graph ?g {
{ ?x st:icon ?l }
union { ?x a ?t . ?t st:icon ?l }
}
}
limit 1
© 2015 - 2025 Weber Informatics LLC | Privacy Policy