sttl.datashape.path.maxcount.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 sh:maxCount (?shape, ?sh, ?vis, ?s, ?p, ?m, ?o){
sh:safe(?shape, ?sh, ?suc)
}
where {
bind (xt:size(sh:path(?shape, ?s, ?p)) as ?val)
bind (?val <= ?m as ?suc)
bind (st:report(sh:maxCount, ?sh, ?shape, ?s, ?p, ?val, ?suc, ?vis) as ?b)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy