Thanks, Holger. It all makes sense now. Assuming the URI of shape graph in EDG is urn:x-evn-master:example_ontology, how do I import/reference it within an external JSON-LD data graph?
On Tuesday, December 15, 2020 at 11:57:20 PM UTC-5 Holger Knublauch wrote: > Hi Fan Li, > > the reason is that the data graph is not owl:importing the shapes graph > (or another copy of the shape definitions). However, the "undefined > property" query goes against the data graph only. In the context of typical > TopBraid EDG/Composer constraint checking, the data graph == the shapes > graph, and therefore the problem only shows in cases where the two are > distinct. > > If you don't like/use this constraint, just add sh:deactivated true to it. > Or try to add an owl:imports statement to the data graph, assuming the > shapes graph is part of the TopBraid workspace. > > Holger > > > On 2020-12-16 2:19 pm, Fan Li wrote: > > 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> > <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 > > <https://groups.google.com/d/msgid/topbraid-users/86efc82b-c5b5-416f-9e34-54853da7c1f8n%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/8692b490-01f0-4f57-9e09-45d76ea114f7n%40googlegroups.com.
