]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.layer0x.ontology/graph/Predicates.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.layer0x.ontology / graph / Predicates.pgraph
diff --git a/bundles/org.simantics.layer0x.ontology/graph/Predicates.pgraph b/bundles/org.simantics.layer0x.ontology/graph/Predicates.pgraph
new file mode 100644 (file)
index 0000000..74ea30e
--- /dev/null
@@ -0,0 +1,37 @@
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+L0X = <http://www.simantics.org/Layer0X-1.1>\r
+\r
+// This ontology is moved from Layer0 and is deprecated but still used\r
+\r
+PRED = L0X.Predicate : L0.Library\r
+    L0.HasResourceClass "org.simantics.layer0.PredicateResource"\r
+    \r
+PRED.Predicate <T L0.Entity \r
+PRED.BinaryPredicate <T L0.Entity\r
+PRED.Conjunction <T PRED.Predicate\r
+//    [HasPredicate all Predicate]\r
+PRED.Disjunction <T PRED.Predicate\r
+//    [HasPredicate all Predicate]\r
+PRED.Negation <T PRED.Predicate\r
+//    [HasPredicate all Predicate card "1"]\r
+PRED.HasPredicate <R L0.IsRelatedTo\r
+    L0.HasRange PRED.Predicate\r
+\r
+PRED.OrderedSetElements : PRED.BinaryPredicate\r
+PRED.CompositePredicate <T PRED.BinaryPredicate\r
+    @L0.singleProperty PRED.AppliesFirst\r
+    @L0.singleProperty PRED.AppliesThen\r
+PRED.InversePredicate <T PRED.BinaryPredicate\r
+    @L0.singleProperty PRED.HasBinaryPredicate\r
+PRED.TransitiveClosure <T PRED.BinaryPredicate\r
+    @L0.singleProperty PRED.HasBinaryPredicate\r
+PRED.UnionPredicate <T PRED.BinaryPredicate\r
+    @L0.property PRED.HasBinaryPredicate\r
+PRED.IntersectionPredicate <T PRED.BinaryPredicate\r
+    @L0.property PRED.HasBinaryPredicate\r
+PRED.HasBinaryPredicate <R L0.IsRelatedTo\r
+    L0.HasRange PRED.BinaryPredicate\r
+PRED.AppliesFirst <R L0.IsRelatedTo\r
+    L0.HasRange PRED.BinaryPredicate\r
+PRED.AppliesThen <R L0.IsRelatedTo\r
+    L0.HasRange PRED.BinaryPredicate    
\ No newline at end of file