
query.shacl.extension.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-gui Show documentation
Show all versions of corese-gui Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint)
implementing RDF, RDFS, SPARQL 1.1 Query and Update, Shacl. STTL. LDScript.
The newest version!
#
# Constraint extension defined as function
#
insert data {
us:John foaf:knows us:Jack .
us:ext a sh:NodeShape ;
sh:targetSubjectsOf foaf:knows ;
sh:property [
sh:path foaf:knows ;
xsh:function [ us:test("value") ]
] .
}
@public
function us:test(source, node, param) {
xt:print("source:", st:turtle(source), "node:", st:turtle(node), "param:", param);
true
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy