sttl.datashape.path.generic2.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(?oper, ?shape, ?sh, ?vis, ?s, ?p, ?b, ?o),
st:call-template(?oper, ?shape, ?sh, ?vis, ?s, ?p, ?b))
}
where {
graph ?shape {
values ?oper {
sh:equals sh:maxCount sh:minCount sh:pattern sh:uniqueLang sh:hasValue sh:lessThanOrEquals sh:lessThan sh:disjoint
sh:and sh:or sh:xone sh:not
sh:qualifiedValueShape sh:sparql
}
?sh ?oper ?b
filter if (?oper = sh:uniqueLang, sameTerm(?b, true), true)
}
values ?s { unnest(?ls) }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy