]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network.ontology/graph/DistrictNetworkTechType.pgraph
Ontology for tech type table persistence
[simantics/district.git] / org.simantics.district.network.ontology / graph / DistrictNetworkTechType.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 STR = <http://www.simantics.org/Structural-1.2>
3
4 DN = <http://www.simantics.org/DistrictNetwork-1.0>
5
6 TT = DN.TechType : L0.Library
7
8 table = TT.TechTypeTable <T L0.Entity
9     // Table data as a CSV string literal
10     >-- table.HasData <R L0.HasProperty : L0.TotalFunction
11         --> L0.String
12     
13     // Link to corresponding component type
14     >-- table.HasComponentType <R L0.IsRelatedTo : L0.FunctionalRelation
15         --> STR.ComponentType