sttl.datashape.path.generic3.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 sh:
template (?shape, ?sh, ?vis, ?ls, ?p, ?o) {
if (bound(?o),
st:call-template(sh:sparqlvalidp, ?shape, ?sh, ?vis, ?s, ?p, ?oper, ?value, ?o),
st:call-template(sh:sparqlvalidp, ?shape, ?sh, ?vis, ?s, ?p, ?oper, ?value))
}
where {
graph ?shape {
?sh ?oper ?value
filter (! sh:isPredicate(?oper))
}
values ?s { unnest(?ls) }
}
function sh:isPredicate(?p) {
strstarts(?p, sh:)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy