]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.base.ontology/graph/Documentation.pgraph
Merge "VariableOrResource SCL type"
[simantics/platform.git] / bundles / org.simantics.document.base.ontology / graph / Documentation.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 STR = <http://www.simantics.org/Structural-1.2>
3 SG = <http://www.simantics.org/Scenegraph-1.1>
4 DIA = <http://www.simantics.org/Diagram-2.2>
5 MOD = <http://www.simantics.org/Modeling-1.2>
6 USER = <http://www.simantics.org/User-1.1>
7 SEL = <http://www.simantics.org/SelectionView-1.2>
8 SIMU = <http://www.simantics.org/Simulation-1.1>
9 FUNCTIONS = <http://www.simantics.org/Documentation-1.2/Functions>
10
11 Documentation = <http://www.simantics.org/Documentation-1.2> : L0.Ontology
12     @L0.new
13     L0.HasResourceClass "org.simantics.document.base.ontology.DocumentationResource"
14
15 Documentation.connect : L0.Template
16   @template %parent %relation %connection %child
17     %parent
18       %relation %connection
19     %child
20       Documentation.Relations.parent %connection
21     %connection : STR.Connection
22
23 Documentation.child1 : L0.Template
24   @template %parent %connection %child
25     %parent
26       Documentation.Relations.part1 %connection
27     %child
28       Documentation.Relations.parent %connection
29     %connection : STR.Connection
30
31 Documentation.child2 : L0.Template
32   @template %parent %connection %child
33     %parent
34       Documentation.Relations.part2 %connection
35     %child
36       Documentation.Relations.parent %connection
37     %connection : STR.Connection
38
39 Documentation.child3 : L0.Template
40   @template %parent %connection %child
41     %parent
42       Documentation.Relations.part3 %connection
43     %child
44       Documentation.Relations.parent %connection
45     %connection : STR.Connection
46
47 Documentation.child4 : L0.Template
48   @template %parent %connection %child
49     %parent
50       Documentation.Relations.part4 %connection
51     %child
52       Documentation.Relations.parent %connection
53     %connection : STR.Connection
54
55 Documentation.child5 : L0.Template
56   @template %parent %connection %child
57     %parent
58       Documentation.Relations.part5 %connection
59     %child
60       Documentation.Relations.parent %connection
61     %connection : STR.Connection
62
63 Documentation.child6 : L0.Template
64   @template %parent %connection %child
65     %parent
66       Documentation.Relations.part6 %connection
67     %child
68       Documentation.Relations.parent %connection
69     %connection : STR.Connection
70
71 Documentation.child7 : L0.Template
72   @template %parent %connection %child
73     %parent
74       Documentation.Relations.part7 %connection
75     %child
76       Documentation.Relations.parent %connection
77     %connection : STR.Connection
78
79 Documentation.child8 : L0.Template
80   @template %parent %connection %child
81     %parent
82       Documentation.Relations.part8 %connection
83     %child
84       Documentation.Relations.parent %connection
85     %connection : STR.Connection
86
87 Documentation.child9 : L0.Template
88   @template %parent %connection %child
89     %parent
90       Documentation.Relations.part9 %connection
91     %child
92       Documentation.Relations.parent %connection
93     %connection : STR.Connection
94
95 Documentation.child10 : L0.Template
96   @template %parent %connection %child
97     %parent
98       Documentation.Relations.part10 %connection
99     %child
100       Documentation.Relations.parent %connection
101     %connection : STR.Connection
102
103
104 Documentation.singleData : L0.Template
105   @template %commandEvent %defVar %dataSource %eventSource %eventRelation %sourceName %targetName %DataSourceConn %DataTargetConn %EventConn
106     %DataSourceConn  : STR.Connection
107     %DataTargetConn : STR.Connection
108     %EventConn : STR.Connection
109     %commandEvent
110       Documentation.Relations.event %EventConn
111       Documentation.Relations.data1 %DataTargetConn
112     %defVar : Documentation.Components.DefVar
113       Documentation.Properties.source %sourceName
114       Documentation.Properties.target %targetName
115       Documentation.Relations.dataIn %DataSourceConn
116       Documentation.Relations.dataDefinition %DataTargetConn
117     %dataSource
118       Documentation.Relations.dataOut %DataSourceConn
119     %eventSource
120       %eventRelation %EventConn
121
122     
123
124 Documentation.Relations : L0.Library
125 Documentation.Document <T Documentation.Components.Composite
126     @L0.assert L0.domainChildren Documentation.Functions.inputSpaceChildren
127     @L0.assert STR.Composite.namingFunction Documentation.Functions.componentNamingStrategy       
128     >-- Documentation.Properties.state
129     L0.Asserts _ : L0.Assertion
130         L0.HasPredicate Documentation.Properties.state
131         L0.HasObject FUNCTIONS.state
132     >-- Documentation.Properties.session
133     L0.Asserts _ : L0.Assertion
134         L0.HasPredicate Documentation.Properties.session
135         L0.HasObject FUNCTIONS.session
136     >-- Documentation.Properties.input
137     L0.Asserts _ : L0.Assertion
138         L0.HasPredicate Documentation.Properties.input
139         L0.HasObject FUNCTIONS.input
140     >-- Documentation.Properties.model
141     L0.Asserts _ : L0.Assertion
142         L0.HasPredicate Documentation.Properties.model
143         L0.HasObject FUNCTIONS.model    
144     >-- Documentation.Properties.experiment
145     L0.Asserts _ : L0.Assertion
146         L0.HasPredicate Documentation.Properties.experiment
147         L0.HasObject FUNCTIONS.experiment       
148
149 Documentation.DocumentComponentType <T STR.ComponentType
150
151 Documentation.DocumentProceduralComponentType <T STR.ProceduralComponentType <T Documentation.DocumentComponentType
152
153 Documentation.DocumentComponent <T Documentation.Components.Component : Documentation.DocumentComponentType
154     >-- Documentation.Properties.state
155     L0.Asserts _ : L0.Assertion
156         L0.HasPredicate Documentation.Properties.state
157         L0.HasObject FUNCTIONS.state
158     >-- Documentation.Properties.session
159     L0.Asserts _ : L0.Assertion
160         L0.HasPredicate Documentation.Properties.session
161         L0.HasObject FUNCTIONS.session
162     >-- Documentation.Properties.input
163     L0.Asserts _ : L0.Assertion
164         L0.HasPredicate Documentation.Properties.input
165         L0.HasObject FUNCTIONS.input
166     >-- Documentation.Properties.model
167     L0.Asserts _ : L0.Assertion
168         L0.HasPredicate Documentation.Properties.model
169         L0.HasObject FUNCTIONS.model    
170     >-- Documentation.Properties.experiment
171     L0.Asserts _ : L0.Assertion
172         L0.HasPredicate Documentation.Properties.experiment
173         L0.HasObject FUNCTIONS.experiment       
174         
175 Documentation.DocumentContribution <T L0.Entity
176   >-- Documentation.DocumentContribution.HasType --> L0.Type <R L0.DependsOn
177   >-- Documentation.DocumentContribution.HasDocument --> Documentation.Document <R L0.DependsOn
178
179 Documentation.InputContribution <T L0.Entity
180   >-- Documentation.InputContribution.function ==> "Resource -> <ReadGraph> [Variable]" <R L0.HasProperty : L0.FunctionalRelation
181   >-- Documentation.InputContribution.labeler ==> "Variable -> <ReadGraph> String" <R L0.HasProperty : L0.FunctionalRelation
182   
183 Documentation.ModelInputContribution : Documentation.InputContribution
184   L0.HasLabel "Models"
185   @Documentation.scl Documentation.InputContribution.function "documentModelContribution" "Resource -> <ReadGraph> [Variable]"
186   @Documentation.scl Documentation.InputContribution.labeler "documentModelContributionLabel" "Variable -> <ReadGraph> String"
187
188 Documentation.Session <T L0.Entity
189   >-- Documentation.Session.inputURI --> L0.String <R L0.HasProperty : L0.TotalFunction