sttl.datashape.constraint.generic.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) {
sh:safe(?shape, ?sh, ?suc)
}
where {
graph ?shape {
values ?q {
sh:hasValue sh:datatype sh:minInclusive sh:minExclusive sh:maxInclusive sh:maxExclusive sh:minLength sh:maxLength sh:nodeKind sh:node sh:in sh:languageIn
}
?sh ?q ?m
#filter not exists { ?sh sh:path ?p }
}
values ?s { unnest(?ls) }
bind (coalesce(sh:functioncall(?q, ?shape, ?s, ?m), false) as ?suc )
bind (st:report(?q, ?sh, ?shape, ?s, st:null, ?s, ?suc, ?vis) as ?b)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy