
webapp.data.query.halrdf.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-server Show documentation
Show all versions of corese-server Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
The newest version!
#
# Dereference URI and return its graph
#
construct {
?s ?p ?o
}
where {
bind (st:get(st:uri) as ?uri)
bind (kg:load(us:completehal(?uri)) as ?g)
graph ?g {
?s ?p ?o
}
}
#
# add /rdf for hal RDF resource URI
#
function us:completehal(?t) {
if (strends(?t, "rdf") || contains(?t, "#"),
?t,
uri(concat(?t, if (strends(?t, "/"), "rdf", "/rdf"))))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy