
webapp.data.query.halcomplete1.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!
insert {
?uri foaf:firstName ?f ; foaf:familyName ?n
}
where {
filter st:get(st:mode, st:complete)
?uri a rdf:Person
filter xt:display("load: ", ?uri)
bind (kg:load(us:completehal(?uri)) as ?g)
graph ?g {
?uri foaf:firstName ?f ; foaf:familyName ?n
filter xt:display(?f, ?n)
}
}
#
# 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