]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.softwareconfiguration.ontology/graph/SoftwareConfiguration.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.softwareconfiguration.ontology / graph / SoftwareConfiguration.pgraph
diff --git a/bundles/org.simantics.softwareconfiguration.ontology/graph/SoftwareConfiguration.pgraph b/bundles/org.simantics.softwareconfiguration.ontology/graph/SoftwareConfiguration.pgraph
new file mode 100644 (file)
index 0000000..37480c9
--- /dev/null
@@ -0,0 +1,36 @@
+L0 = <http://www.simantics.org/Layer0-1.1>\r
+SC = <http://www.simantics.org/SoftwareConfiguration-1.1> : L0.Ontology\r
+    @L0.new\r
+    L0.HasResourceClass "org.simantics.layer0.SoftwareConfigurationResources"\r
+        \r
+SC.Product <T L0.Entity\r
+    L0.HasDescription """Describes a software product which may have multiple versions.""" \r
+SC.Version <T L0.Entity    \r
+    L0.HasDescription """One version of some product."""    \r
+SC.Version.Of <R L0.IsRelatedTo : L0.TotalFunction\r
+    L0.HasDomain SC.Version\r
+    L0.HasRange SC.Product\r
+SC.Version.HasUpdate <R L0.IsRelatedTo\r
+    L0.InverseOf SC.Update.From\r
+\r
+SC.Update <T L0.Entity\r
+    L0.HasDescription """Describes an update from one version of the product to other."""\r
+SC.Update.From <R L0.IsRelatedTo : L0.TotalFunction\r
+    L0.HasDomain SC.Update\r
+    L0.HasRange SC.Version\r
+SC.Update.To <R L0.IsRelatedTo : L0.TotalFunction\r
+    L0.HasDomain SC.Update\r
+    L0.HasRange SC.Version\r
+SC.Update.HasMigrationAction <R L0.IsRelatedTo\r
+    L0.HasDomain SC.Update\r
+    L0.HasRange <http://www.simantics.org/Action-1.1/Action>\r
+\r
+SC.IsCompatibleWith <R L0.IsRelatedTo\r
+    L0.HasDescription """Tells that the entity is compatible with a certain version of a product."""\r
+    L0.HasDomain L0.Entity\r
+    L0.HasRange SC.Version\r
+    \r
+SC.HasVersion <R L0.DependsOn : L0.TotalFunction\r
+    L0.HasDescription """Tells that the entity is built with a certain version of a product."""\r
+    L0.HasDomain L0.Entity\r
+    L0.HasRange SC.Version    
\ No newline at end of file