1 L0 = <http://www.simantics.org/Layer0-1.1>
2 DIA = <http://www.simantics.org/Diagram-2.2>
3 DNR = <http://www.simantics.org/DistrictNetworkRoutes-1.0>
4 REG = <http://www.simantics.org/DistrictDiagramRegions-1.0>
5 G2D = <http://www.simantics.org/G2D-1.1>
7 ES = <http://www.simantics.org/ElementSelection-1.0> : L0.Ontology
9 L0.Ontology.global true
10 L0.HasResourceClass "org.simantics.district.selection.ElementSelectionResource"
12 ES.SelectionLibrary <T L0.Library
14 ES.Selection <T L0.Entity
15 >-- ES.Selection.HasGenerator --> ES.Generator <R L0.HasProperty : L0.FunctionalRelation
16 >-- ES.Selection.HasCondition --> ES.Condition <R L0.HasProperty : L0.FunctionalRelation
17 >-- ES.Selection.HasSelector --> ES.Selector <R L0.HasProperty : L0.FunctionalRelation
19 >-- ES.Selection.HasHighlightColor --> G2D.Color <R G2D.HasColor : L0.FunctionalRelation
20 >-- ES.Selection.HasLineWidth --> L0.Float <R G2D.HasStrokeWidth : L0.FunctionalRelation
22 @L0.singleProperty ES.Selection.HasGenerator
23 @L0.singleProperty ES.Selection.HasCondition
24 @L0.singleProperty ES.Selection.HasSelector
26 @L0.optionalProperty ES.Selection.HasHighlightColor
27 @L0.optionalProperty ES.Selection.HasLineWidth
29 ES.Generator <T L0.Entity
30 ES.Condition <T L0.Entity
31 ES.Selector <T L0.Entity
33 ES.Generator.Explicit <T ES.Generator
34 >-- ES.Generator.HasSelectedElement --> DIA.Element <R L0.HasProperty : L0.Relation
35 @L0.property ES.Generator.HasSelectedElement
37 ES.Generator.Model <T ES.Generator
38 ES.Generator.Diagram <T ES.Generator
39 >-- ES.Generator.HasDiagram --> DIA.Diagram <R L0.HasProperty : L0.Relation
40 @L0.property ES.Generator.HasDiagram
42 ES.Selector.All <T ES.Selector
44 ES.PropertySelector <T ES.Selector
45 >-- ES.PropertySelector.HasSelectionPropertyName --> L0.String <R L0.HasProperty : L0.TotalFunction
46 >-- ES.PropertySelector.HasResultCount --> L0.Integer <R L0.HasProperty : L0.FunctionalRelation
47 @L0.singleProperty ES.PropertySelector.HasSelectionPropertyName
48 @L0.singleProperty ES.PropertySelector.HasResultCount
50 ES.Selector.NLowest <T ES.PropertySelector
51 ES.Selector.NHighest <T ES.PropertySelector
53 ES.Selector.HasMapping <R L0.IsRelatedTo : L0.FunctionalRelation
56 >-- ES.Condition.IsInverse --> ES.Condition <R L0.HasProperty : L0.Tag
58 ES.AggregateCondition <T ES.Condition
59 >-- ES.HasSubcondition --> ES.Selector <R L0.IsComposedOf : L0.Relation
60 @L0.property ES.HasSubcondition
63 ES.Conjunction <T ES.AggregateCondition
65 ES.Disjunction <T ES.AggregateCondition
67 ES.Negation <T ES.AggregateCondition
69 ES.ElementaryCondition <T ES.Condition
71 ES.PropertyCondition <T ES.ElementaryCondition
72 >-- ES.PropertyCondition.HasPropertyName --> L0.String <R L0.HasProperty : L0.TotalFunction
73 >-- ES.PropertyCondition.HasLowerLimit --> L0.Double <R L0.HasProperty : L0.FunctionalRelation
74 >-- ES.PropertyCondition.HasUpperLimit --> L0.Double <R L0.HasProperty : L0.FunctionalRelation
75 @L0.singleProperty ES.PropertyCondition.HasPropertyName
76 @L0.optionalProperty ES.PropertyCondition.HasLowerLimit
77 @L0.optionalProperty ES.PropertyCondition.HasUpperLimit
79 ES.RouteCondition <T ES.ElementaryCondition
80 >-- ES.RouteCondition.HasRoute --> DNR.Route <R L0.HasProperty : L0.TotalFunction
81 @L0.singleProperty ES.RouteCondition.HasRoute
82 ES.RegionCondition <T ES.ElementaryCondition
83 >-- ES.RegionCondition.HasRegion --> REG.Region <R L0.HasProperty : L0.TotalFunction
84 @L0.singleProperty ES.RouteCondition.HasRoute