Skip to content

Commit

Permalink
Updated the OASIS OSLC SysML to use open-services.net namespace
Browse files Browse the repository at this point in the history
Created draft OMG documents using the OMG namespace and attached these to a corresponding OMG FTF issue.
  • Loading branch information
Jim Amsden committed May 2, 2024
1 parent 34c5402 commit e619fa4
Show file tree
Hide file tree
Showing 11 changed files with 13,769 additions and 10,255 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,7 @@
oslc:name "feature_Direction" ;
oslc:occurs oslc:Zero-or-one ;
oslc:propertyDefinition oslc_kerml:feature_Direction ;
oslc:range <http://open-services.net/ns/sysmlv2#FeatureDirectionKind> ;
oslc:range <http://www.omg.org/spec/SysML/2.0#FeatureDirectionKind> ;
oslc:readOnly false ;
dcterms:description "Indicates how values of this <code>Feature</code> are determined or used (as specified for the <code>FeatureDirectionKind</code>)."^^rdf:XMLLiteral .

Expand Down Expand Up @@ -3098,7 +3098,7 @@
oslc:name "import_Visibility" ;
oslc:occurs oslc:Exactly-one ;
oslc:propertyDefinition oslc_kerml:import_Visibility ;
oslc:range <http://open-services.net/ns/sysmlv2#VisibilityKind> ;
oslc:range <http://www.omg.org/spec/SysML/2.0#VisibilityKind> ;
oslc:readOnly false ;
dcterms:description "The visibility level of the imported <code>members</code> from this Import relative to the <code>importOwningNamespace</code>."^^rdf:XMLLiteral .

Expand Down Expand Up @@ -3298,7 +3298,7 @@
oslc:name "membership_Visibility" ;
oslc:occurs oslc:Exactly-one ;
oslc:propertyDefinition oslc_kerml:membership_Visibility ;
oslc:range <http://open-services.net/ns/sysmlv2#VisibilityKind> ;
oslc:range <http://www.omg.org/spec/SysML/2.0#VisibilityKind> ;
oslc:readOnly false ;
dcterms:description "Whether or not the <code>Membership</code> of the <code>memberElement</code> in the <code>membershipOwningNamespace</code> is publicly visible outside that <code>Namespace</code>."^^rdf:XMLLiteral .

Expand Down
File renamed without changes.
7 changes: 5 additions & 2 deletions specs/sysml/Resources/genVocabAndShapes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"vann = Namespace('http://purl.org/vocab/vann/')\n",
"oslc = Namespace('http://open-services.net/ns/core#')\n",
"oslc_am = Namespace('http://open-services.net/ns/am#')\n",
"oslc_sysmlv2 = Namespace('http://www.omg.org/spec/SysML/2.0#')\n",
"#oslc_sysmlv2 = Namespace('http://www.omg.org/spec/SysML/2.0#') # OMG namespace\n",
"oslc_sysmlv2 = Namespace('http://open-services.net/ns/sysmlv2#') # OASIS namespace\n",
"\n",
"# create the SysML vocabulary graph, initially empty\n",
"g = Graph()\n",
Expand Down Expand Up @@ -181,7 +182,9 @@
" \n",
"\n",
"# create the SysML constraints graph, initially empty\n",
"oslc_sysml_shapes = Namespace('https://www.omg.org/spec/SysML/shapes/20240801#')\n",
"#oslc_sysml_shapes = Namespace('https://www.omg.org/spec/SysML/shapes/20240801#') # OMG namespace\n",
"oslc_sysml_shapes = Namespace('http://open-services.net/ns/sysmlv2/shapes/20240801#') # OASIS namespace\n",
"\n",
"jazz_am = Namespace('http://jazz.net/ns/dm/linktypes#')\n",
"\n",
"g = Graph()\n",
Expand Down
Loading

0 comments on commit e619fa4

Please sign in to comment.