]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.layer0x.ontology/graph/Operations.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.layer0x.ontology / graph / Operations.pgraph
diff --git a/bundles/org.simantics.layer0x.ontology/graph/Operations.pgraph b/bundles/org.simantics.layer0x.ontology/graph/Operations.pgraph
new file mode 100644 (file)
index 0000000..cd8965b
--- /dev/null
@@ -0,0 +1,25 @@
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+L0X = <http://www.simantics.org/Layer0X-1.1>\r
+\r
+PRED = L0X.Predicate\r
+\r
+// This ontology is moved from Layer0 and is deprecated but still used\r
+\r
+OP = L0X.Operation : L0.Library\r
+    L0.HasResourceClass "org.simantics.operation.OperationResource"\r
+    \r
+OP.Operation <T L0.Entity\r
+OP.AbstractContextualList <T L0.Entity\r
+OP.ContextualList <T OP.AbstractContextualList <T L0.OrderedSet\r
+OP.TypeBasedList <T OP.AbstractContextualList\r
+    @L0.singleProperty L0X.HasRelation\r
+OP.ConditionalList <T OP.AbstractContextualList\r
+    @L0.singleProperty OP.HasCondition\r
+    @L0.singleProperty OP.HasThenElement\r
+//    [HasElseElement card "0..1"]\r
+OP.HasCondition <R L0.IsRelatedTo\r
+    L0.HasRange PRED.Predicate\r
+OP.HasThenElement <R L0.IsRelatedTo\r
+    L0.HasRange OP.AbstractContextualList\r
+OP.HasElseElement <R L0.IsRelatedTo\r
+    L0.HasRange OP.AbstractContextualList
\ No newline at end of file