A property is considered "undefined" if it does not appear as subject of any triple (e.g. ex:myProperty rdf:type rdf:Property would resolve that) and does not appear in a SHACL property shape (?ps sh:path ex:myProperty).

In this particular case, include the SHACL version of schema.org to resolve the references of familyName and deathDate.

Holger


On 1/08/2019 23:29, Fan Li wrote:
I imported the shapes and data graphs from the SHACL playground (https://shacl.org/playground/) into EDG and got 5 validation errors:

|

Missing label
Value:  
        Bob

Suggestion:     
Generate a label for <http://example.org/ns#Bob>Apply

Use of undefined property
Property:       
        http://schema.org/familyName
Value:  
        Junior

Use of undefined property
Property:       
        http://schema.org/deathDate
Value:  
        1968-09-10

Value does not have shape schema:AddressShape
Property:       
        http://schema.org/address
Value:  
        BobsAddress

Value is not < value of schema:deathDate
Property:       
        http://schema.org/birthDate
Value:  
        1971-07-07

|

I understand the first and the last 2 errors but not sure what exactly "Use of undefined property" means. Where should I define those properties?

I also looked at the validation SPARQL in "teamworkconstraints:UndefinedPredicateConstraint" but don't quite understand it.

|
SELECT $this ?path ?value
WHERE {
$this ?path ?value .
FILTER (?path NOT IN (<http://topbraid.org/search#defaultSearch>)) .
    FILTER NOT EXISTS { ?path ?p ?o }
    FILTER NOT EXISTS { ?ps sh:path ?path }
}
|

Thanks!
--
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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/96685ea3-eeb6-4962-91fc-f7f06eb35825%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/96685ea3-eeb6-4962-91fc-f7f06eb35825%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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/fb94af9c-fca2-0008-e5f1-2a447eac11d1%40topquadrant.com.

Reply via email to