All Downloads are FREE. Search and download functionalities are using the official Maven repository.

query.shacl.domaincheckstrict.rq Maven / Gradle / Ivy

Go to download

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!
#
# Strict type checking for rdfs:domain
#
insert data {
us:test a sh:NodeShape ;
xsh:targetTriplesOf rdfs:domain ;       # p domain d                       
sh:property[
sh:path (
    [xsh:triplePath ([] (xsh:source xsh:subject) )] # s p o
    [xsh:notExist (
        [xsh:triplePath ((xsh:preceding xsh:subject) rdf:type (xsh:source xsh:object))] # s rdf:type d
    )]
    [xsh:nodePath xsh:subject]
    );
xsh:failure() 
]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy