]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.layer0/graph/Layer0.pgraph
DB and Layer0 modifications for related issues
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0.pgraph
index ec2048acbd40d158762430d95b9b0a0e8a78167f..d169c9684402f401abe44a54be69db6457e83cad 100644 (file)
@@ -4,6 +4,9 @@
 L0 = <http://www.simantics.org/Layer0-1.1> : L0.Ontology
     L0.HasResourceClass "org.simantics.layer0.Layer0"
 
+L0.SCLMain : L0.SCLModule
+    L0.SCLModule.definition """ include "Simantics/Layer0" """
+
 // Types
 L0.Entity : L0.Type
     L0.HasDescription "All types are inherited from this type."
@@ -22,9 +25,13 @@ L0.Entity : L0.Type
     >-- L0.identifier <R L0.HasProperty : L0.FunctionalRelation
         L0.HasLabel "Identifier"
         --> L0.GUID
+        ==> "GUID"
     >-- L0.typeURI <R L0.HasProperty : L0.FunctionalRelation
         L0.HasLabel "Type URI"
         --> L0.String
+    >-- L0.typeResource <R L0.HasProperty : L0.FunctionalRelation
+        L0.HasLabel "Type Resource"
+        ==> "Variable -> Resource -> <ReadGraph> Resource"
     >-- L0.HasComment --> L0.String <R L0.HasProperty
     >-- L0.ConsistsOf --> L0.Entity <R L0.IsComposedOf
         L0.InverseOf L0.PartOf : L0.FunctionalRelation
@@ -37,9 +44,10 @@ L0.Entity : L0.Type
       L0.readOnly true
     >-- L0.Entity.methods
     @L0.assert L0.Entity.methods
-      _ : L0.Value
+      _ : L0.Property
+        L0.HasValueType "StructuredProperty"
     
-L0.Entity.methods --> L0.Value <R L0.HasProperty : L0.FunctionalRelation
+L0.Entity.methods ==> "StructuredProperty" <R L0.HasProperty : L0.FunctionalRelation
   L0.domainProperties L0.Functions.methodsPropertyDomainProperties
   
 L0.Entity.method <R L0.HasProperty : L0.FunctionalRelation