Parcourir la source

Fix issues with the OML version of the FTGPM

Arkadiusz Ryś il y a 2 ans
Parent
commit
ef3a59004e
1 fichiers modifiés avec 8 ajouts et 6 suppressions
  1. 8 6
      models/ontology/oml/ftg.oml

+ 8 - 6
models/ontology/oml/ftg.oml

@@ -48,7 +48,7 @@ vocabulary <http://ontology.rys.one/drivetrain/vocabulary/ftg#> as ftg {
 
     scalar property hasLink [
         domain ArtefactInstance
-        # Probably should be some URI?
+        // Probably should be some URI?
         range xsd:string
     ]
 
@@ -59,7 +59,7 @@ vocabulary <http://ontology.rys.one/drivetrain/vocabulary/ftg#> as ftg {
 
     enumerated scalar PortDirection [
         "in",
-        "out",
+        "out"
     ]
 
     scalar property hasPortDirection [
@@ -70,7 +70,7 @@ vocabulary <http://ontology.rys.one/drivetrain/vocabulary/ftg#> as ftg {
 
     enumerated scalar EventType [
         "begin",
-        "end",
+        "end"
     ]
 
     scalar property isOfEventType [
@@ -101,15 +101,17 @@ vocabulary <http://ontology.rys.one/drivetrain/vocabulary/ftg#> as ftg {
 
     relation entity HasOrigin [
         from Edge
-        # Could also be Node, but this is more restrictive
-        to Port, Formalism, Fork, Join, TraceEvent, Transformation, Activity, Artefact, ArtefactInstance, Initial
+        // Could also be Node, but this is more restrictive
+        //to Port, Formalism, Fork, Join, TraceEvent, Transformation, Activity, Artefact, ArtefactInstance, Initial
+        to Node
         forward hasOrigin
         reverse isOriginOf
     ]
 
     relation entity HasDestination [
         from Edge
-        to Port, Formalism, Fork, Join, TraceEvent, Transformation, Activity, Artefact, ArtefactInstance, Final
+        //to Port, Formalism, Fork, Join, TraceEvent, Transformation, Activity, Artefact, ArtefactInstance, Final
+        to Node
         forward hasDestination
         reverse isDestinationOf
     ]