
Hi Tim,
are you sure both property shapes are about the same property edg:output? This doesn't look right because they carry different sh:class constraints in both cases.Regards,
Holger
--
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAF0WbnLc5O0h1Q29OB5ZAqPfmYkT0KbrfVkyJmy7z8-iZdqBsA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/f9493d61-59fe-b295-373c-899efeffb5e6%40topquadrant.com.
Hi Tim,
if you want to use the same property I think you're rather
looking at
https://www.w3.org/TR/shacl/#QualifiedValueShapeConstraintComponent
to say that "one of them needs to be running indicator" and "one of them needs to be fault indicator".
But while that would work on a constraint checking level, it will not make sense w.r.t. sh:name and the form editor. The label should be the same in both cases, which I believe indicates that you're better off introducing separate properties.
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BYFYEp-1aMyt6tKB_ajJHBCbjNA2MRZ-xsdXV_FwcRsw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/87b2543a-36c1-0dca-6901-30b5faa0b7b3%40topquadrant.com.
This addressed the common OWL use case where the same property pointed to instances of different classes
and it was pertinent to the user to show them the class of the instance to tell them what they were seeing.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAF0WbnLigyhpXZEnwUhdccdjURmYKF%2BbrnSb84ReJW1RLEcC%2BA%40mail.gmail.com.
Just to add a tiny bit of info in case it's not clear:
If you have multiple property shapes on the same property
(anywhere in the superclass hierarchy) the semantics of them will
be merged together. It doesn't matter if the PropertyShape
instance is different - the constraints are simply all treated the
same. This also means all sh:class constraints would be checked
together and the instances need to fulfill them all. This usually
only works if there is a subclass relationship between those.
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/35C166CF-900B-4FFB-9766-C911F10EFB2A%40topquadrant.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/20eb8f08-cdb4-7617-e9c2-fe80f872949e%40topquadrant.com.
On Jul 8, 2020, at 12:56 PM, Tim Smith <smith...@gmail.com> wrote:So one final question... I chose to use edg:output because it is semantically correct but also because lineage diagrams respond to this property as well as the calculation of upstream and downstream dependencies.. How do I ensure my properties will be used in lineage diagrams as well as up/downstream calculations? I believe Ralph has said that creating properties as subproperties of edg:output will have the intended effect but I wanted to confirm. Are there other properties that I can use as a root element to achieve the same result in the cases where input and output are not semantically correct?
--
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/E7AC2ECA-6C0C-4591-B37D-7016F817BC9D%40topquadrant.com.