Hi Holger, In this case, that is correct. The FVNR class represents a physical device, a type of electric motor starter. These devices have two outputs, a running indicator and a fault indicator. These outputs are typically wired into a Programmable Logic Controller (PLC). Thus, I've chosen to model the outputs as specific types of data elements. This model is intended to be able capture and show lineage for all of the data elements produced by devices on a manufacturing line. This data typically flows into a PLC and out into various OT/IT systems. It will also enable me to capture the control loops on the line.
I own the model and am open to better ways of doing it. Tim On Tue, Jul 7, 2020 at 7:13 PM Holger Knublauch <[email protected]> wrote: > 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 > > > On 8/07/2020 04:52, Tim Smith wrote: > > Hi, > > I am auto-generating classes and property shapes from spreadsheets. I > have an issue where EDG is not displaying the name of the property shape > correctly in the declared properties section of a class form. In the > example below, note that Sts_Overload is displayed as the property name in > both cases but sh:name contains Sts_Running for the upper entry. Source > code for the class/node shape and property shapes is pasted at the bottom. > This is happening for all of my generated classes but does not happen for > classes and property shapes I manually create in EDG. > > Note that when I say generated, I use an insert query in TBC to construct > the triples from a spreadsheet and insert them into an empty graph. The > graph containing the triples is then imported into an empty ontology in EDG. > > I'm baffled as to what is different and I'm hoping another set of eyes > will see the problem. Thanks in advance for your help, > > Tim > [image: image.png] > pgont:FVNR > a edg:CustomAssetClass ; > a sh:NodeShape ; > edg:acronym "FVNR" ; > edg:description "To Be Determined" ; > rdfs:isDefinedBy <http://data.pg.com/data/graph/Controls> ; > rdfs:label "FVNR" ; > rdfs:subClassOf pgont:ElectricMotorStarter ; > sh:property pgont:FVNR_Sts_Overload-output ; > sh:property pgont:FVNR_Sts_Running-output ; > . > pgont:FVNR_Sts_Overload-output > a sh:PropertyShape ; > sh:path edg:output ; > rdfs:isDefinedBy <http://data.pg.com/data/graph/Controls> ; > sh:class pgont:FaultCondition ; > sh:description "FF: Control Overload" ; > sh:group edg:TraceableGroup ; > sh:maxCount 1 ; > sh:name "Sts_Overload" ; > sh:order "25"^^xsd:decimal ; > . > pgont:FVNR_Sts_Running-output > a sh:PropertyShape ; > sh:path edg:output ; > rdfs:isDefinedBy <http://data.pg.com/data/graph/Controls> ; > sh:class pgont:RunningStatus ; > sh:description "FF: Running Status" ; > sh:group edg:TraceableGroup ; > sh:maxCount 1 ; > sh:name "Sts_Running" ; > sh:order "25"^^xsd:decimal ; > . > -- > 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/CAF0WbnLc5O0h1Q29OB5ZAqPfmYkT0KbrfVkyJmy7z8-iZdqBsA%40mail.gmail.com > <https://groups.google.com/d/msgid/topbraid-users/CAF0WbnLc5O0h1Q29OB5ZAqPfmYkT0KbrfVkyJmy7z8-iZdqBsA%40mail.gmail.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/f9493d61-59fe-b295-373c-899efeffb5e6%40topquadrant.com > <https://groups.google.com/d/msgid/topbraid-users/f9493d61-59fe-b295-373c-899efeffb5e6%40topquadrant.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/CAF0Wbn%2BYFYEp-1aMyt6tKB_ajJHBCbjNA2MRZ-xsdXV_FwcRsw%40mail.gmail.com.
