]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.district.region.ontology/graph/DiagramRegions.pgraph
Add initial version of regions to source control
[simantics/district.git] / org.simantics.district.region.ontology / graph / DiagramRegions.pgraph
diff --git a/org.simantics.district.region.ontology/graph/DiagramRegions.pgraph b/org.simantics.district.region.ontology/graph/DiagramRegions.pgraph
new file mode 100644 (file)
index 0000000..c7774db
--- /dev/null
@@ -0,0 +1,14 @@
+L0 = <http://www.simantics.org/Layer0-1.1>
+DIA = <http://www.simantics.org/Diagram-2.2>
+
+DIARegions = <http://www.simantics.org/DistrictDiagramRegions-1.0> : L0.Ontology
+    @L0.new
+    L0.HasResourceClass "org.simantics.district.region.ontology.DiagramRegionsResource"
+
+DIARegions.Region <T L0.Entity
+
+DIARegions.Region.area <R L0.HasProperty
+
+DIARegions.hasRegion <R L0.IsWeaklyRelatedTo
+    L0.InverseOf DIARegions.regionOf <R L0.IsWeaklyRelatedTo
+    L0.HasDomain DIA.Diagram