Thanks, Holger. I understand it now.

On Thursday, August 1, 2019 at 7:18:45 PM UTC-4, Holger Knublauch wrote:
>
> 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> 
> <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] <javascript:>.
> 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/85c56fe5-9f4d-4aa4-9e6b-886a200ecf79%40googlegroups.com.

Reply via email to