]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.base.ontology/graph/Documentation.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.document.base.ontology / graph / Documentation.pgraph
diff --git a/bundles/org.simantics.document.base.ontology/graph/Documentation.pgraph b/bundles/org.simantics.document.base.ontology/graph/Documentation.pgraph
new file mode 100644 (file)
index 0000000..4845558
--- /dev/null
@@ -0,0 +1,189 @@
+L0 = <http://www.simantics.org/Layer0-1.1>
+STR = <http://www.simantics.org/Structural-1.2>
+SG = <http://www.simantics.org/Scenegraph-1.1>
+DIA = <http://www.simantics.org/Diagram-2.2>
+MOD = <http://www.simantics.org/Modeling-1.2>
+USER = <http://www.simantics.org/User-1.1>
+SEL = <http://www.simantics.org/SelectionView-1.2>
+SIMU = <http://www.simantics.org/Simulation-1.1>
+FUNCTIONS = <http://www.simantics.org/Documentation-1.2/Functions>
+
+Documentation = <http://www.simantics.org/Documentation-1.2> : L0.Ontology
+    @L0.new
+    L0.HasResourceClass "org.simantics.document.base.ontology.DocumentationResource"
+
+Documentation.connect : L0.Template
+  @template %parent %relation %connection %child
+    %parent
+      %relation %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child1 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part1 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child2 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part2 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child3 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part3 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child4 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part4 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child5 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part5 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child6 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part6 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child7 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part7 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child8 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part8 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child9 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part9 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+Documentation.child10 : L0.Template
+  @template %parent %connection %child
+    %parent
+      Documentation.Relations.part10 %connection
+    %child
+      Documentation.Relations.parent %connection
+    %connection : STR.Connection
+
+
+Documentation.singleData : L0.Template
+  @template %commandEvent %defVar %dataSource %eventSource %eventRelation %sourceName %targetName %DataSourceConn %DataTargetConn %EventConn
+    %DataSourceConn  : STR.Connection
+    %DataTargetConn : STR.Connection
+    %EventConn : STR.Connection
+    %commandEvent
+      Documentation.Relations.event %EventConn
+      Documentation.Relations.data1 %DataTargetConn
+    %defVar : Documentation.Components.DefVar
+      Documentation.Properties.source %sourceName
+      Documentation.Properties.target %targetName
+      Documentation.Relations.dataIn %DataSourceConn
+      Documentation.Relations.dataDefinition %DataTargetConn
+    %dataSource
+      Documentation.Relations.dataOut %DataSourceConn
+    %eventSource
+      %eventRelation %EventConn
+
+    
+
+Documentation.Relations : L0.Library
+Documentation.Document <T Documentation.Components.Composite
+    @L0.assert L0.domainChildren Documentation.Functions.inputSpaceChildren
+    @L0.assert STR.Composite.namingFunction Documentation.Functions.componentNamingStrategy       
+    >-- Documentation.Properties.state
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.state
+        L0.HasObject FUNCTIONS.state
+    >-- Documentation.Properties.session
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.session
+        L0.HasObject FUNCTIONS.session
+    >-- Documentation.Properties.input
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.input
+        L0.HasObject FUNCTIONS.input
+    >-- Documentation.Properties.model
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.model
+        L0.HasObject FUNCTIONS.model    
+    >-- Documentation.Properties.experiment
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.experiment
+        L0.HasObject FUNCTIONS.experiment       
+
+Documentation.DocumentComponentType <T STR.ComponentType
+
+Documentation.DocumentProceduralComponentType <T STR.ProceduralComponentType <T Documentation.DocumentComponentType
+
+Documentation.DocumentComponent <T Documentation.Components.Component : Documentation.DocumentComponentType
+    >-- Documentation.Properties.state
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.state
+        L0.HasObject FUNCTIONS.state
+    >-- Documentation.Properties.session
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.session
+        L0.HasObject FUNCTIONS.session
+    >-- Documentation.Properties.input
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.input
+        L0.HasObject FUNCTIONS.input
+    >-- Documentation.Properties.model
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.model
+        L0.HasObject FUNCTIONS.model    
+    >-- Documentation.Properties.experiment
+    L0.Asserts _ : L0.Assertion
+        L0.HasPredicate Documentation.Properties.experiment
+        L0.HasObject FUNCTIONS.experiment       
+        
+Documentation.DocumentContribution <T L0.Entity
+  >-- Documentation.DocumentContribution.HasType --> L0.Type <R L0.DependsOn
+  >-- Documentation.DocumentContribution.HasDocument --> Documentation.Document <R L0.DependsOn
+
+Documentation.InputContribution <T L0.Entity
+  >-- Documentation.InputContribution.function ==> "Resource -> <ReadGraph> [Variable]" <R L0.HasProperty : L0.FunctionalRelation
+  >-- Documentation.InputContribution.labeler ==> "Variable -> <ReadGraph> String" <R L0.HasProperty : L0.FunctionalRelation
+  
+Documentation.ModelInputContribution : Documentation.InputContribution
+  L0.HasLabel "Models"
+  @Documentation.scl Documentation.InputContribution.function "documentModelContribution" "Resource -> <ReadGraph> [Variable]"
+  @Documentation.scl Documentation.InputContribution.labeler "documentModelContributionLabel" "Variable -> <ReadGraph> String"
+
+Documentation.Session <T L0.Entity
+  >-- Documentation.Session.inputURI --> L0.String <R L0.HasProperty : L0.TotalFunction
\ No newline at end of file