Hi Holger, I am a little stuck with the EDG SHACL validation 
tool: /edg/tbl/swp?_viewClass=tblshacl%3AValidationPage

I have constantly got the "Use of an undefined property that is neither the 
subject of any triple nor the sh:path of any property shape" error. Looking 
into this particular constraint defined in the 
<http://topbraid.org/teamworkconstraints> ontology, I don't understand why 
it is triggered even though the properties are sh:path of some property 
shapes.

Attached is a minimal reproducible example under version 6.4.2. Thank you! 
 




-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/86efc82b-c5b5-416f-9e34-54853da7c1f8n%40googlegroups.com.
{
        "@context": {
                "@vocab": "http://example.org/ns#";,
                "name": "http://www.w3.org/2000/01/rdf-schema#label";
        },
        "@id": "http://example.org/ns#Bob";,
        "@type": "Person",
        "name": "Robert Junior",
        "firstName": "Robert",
        "lastName": "Junior"
}
@prefix ex: <http://example.org/ns#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix sh:    <http://www.w3.org/ns/shacl#> .

<http://example.org/ont>
        owl:imports <http://topbraid.org/teamworkconstraints> .

ex:Person
        a owl:Class ;
        a sh:NodeShape ;
        sh:property [
                sh:path ex:firstName ;
                sh:name "first name" ;
        ] ;
        sh:property [
                sh:path ex:lastName ;
                sh:name "last name" ;
        ] .

Reply via email to