Hi Tim,

I have looked into the models and I think we can make relational and other 
databases subclasses of “DataContainer”.  This is what they would get with 
inheritance:

edg:DataContainer
  rdfs:isDefinedBy <http://edg.topbraid.solutions/1.0/schema/datamodels> ;
  rdfs:subClassOf edg:ComplianceAspect ;
  rdfs:subClassOf edg:Traceable ;
  sh:property edg:DataContainer-hostedOn ;
.
edg:DataContainer-hostedOn
  a sh:PropertyShape ;
  sh:path edg:hostedOn ;
  rdfs:isDefinedBy <http://edg.topbraid.solutions/1.0/schema/datamodels> ;
  sh:class edg:Server ;
  sh:group edg:DataContextGroup ;
  sh:maxCount 1 ;
  sh:order "70"^^xsd:decimal ;
.


We will need to see how these properties from “DataContaoner” impact the 
DataBase Classes.

On an aside, there is a QA reporter for lineage map/reduce templates that also 
includes a diagram generator utility that uses the DAGRE JS libraries for 
auto-layout.  You run it as follows:
 
https://localhost:8083/tbl/swp?_viewClass=edg:AssetTypeReport&resource=edg:BusinessApplication&diagramType=A1
 
<https://localhost:8083/tbl/swp?_viewClass=edg:AssetTypeReport&resource=edg:BusinessApplication&diagramType=A1>

A small change can be made to not show traits (the aspect classes) - (as you 
mention in another post - will discuss that internally)

Regards, Ralph



> On Aug 15, 2022, at 5:25 PM, Tim Smith <[email protected]> wrote:
> 
> Hi,
> 
> In the Product Sales Data example Data Assets graph, The NORTHWIND Physical 
> Data Model instance has a violation with the realized as property shape.  The 
> property shape indicates the object must be an instance of edg:DataContainer. 
>  NORTHWIND-Production is an instance of edg:RelationalDatabase.  Relational 
> Database does not inherit from Data Container thus the violation.  The same 
> type of violation occurs in the other Data Asset examples that contain 
> Physical Model instances.
> 
> edg:DataContainer is defined as:
> 
> "A 'Data container' is a collection of logical structures of data, or schema 
> objects. In a relational database a container would contain tables. For 
> example, for Oracle databases a data container is called a 'Schema'."
> 
> It's not clear to me how this should be resolved.
> 
> Thanks,
> 
> Tim
> 
> <image.png>
> 
> <image.png>
> 
> -- 
> 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/CAF0WbnJaSJiZNjwQWqGCCjipT-6AowRWONEB3s4FengkKpcpHg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/CAF0WbnJaSJiZNjwQWqGCCjipT-6AowRWONEB3s4FengkKpcpHg%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/6B653876-B89D-478F-8A17-E703165120CD%40topquadrant.com.

Reply via email to