SystemsModelingAPI 1.0b3 FTF Avatar
  1. OMG Issue

SYSMOAS_ — SysML and KerML OSLC API vocabulary and shapes files need updates for FTF2

  • Key: SYSMOAS_-61
  • Status: open  
  • Source: International Business Machines ( Mr. Jim Amsden)
  • Summary:

    https://www.omg.org/spec/SystemsModelingAPI/20240801/OSLC-Domain-Model.zip, needs updated vocabulary and constraints files for KerML and SysML:

    • KerML Shapes-shapes.xml
    • KerML Vocabulary-vocab.xml
    • SysML Shapes-shapes.xml
    • SysML Vocabulary-vocab.xml

    The vocabulary terms updates include:

    • Use updated SysML.ecore and KerML.ecore source files for generating the vocab files.
    • Add the ontology element to the vocab .ttl file.
    • Generate Turtle instead of RDF/XML
    • Add Apache License Version 2.0 comment headers to the .ttl files.
    • Add OASIS copyright notice.
    • KerML and SysML v2 Element subclass oslc_am:Resource to link SysML elements to other lifecycle resources (e.g., requirements, change requests, test cases, etc.)
    • Add rdfs:isDefinedBy oalc_sysmlv2 and rdfs:label to each vocabulary terms
    • Translate the EEnum enumerations to RDF, e.g., FeatureDirectionKind
      See [Defining Enumerations](file:///Users/jamsden/Developer/OSLC/oslc-op/oslc-specs/specs/core/core-vocab.html#enumerations). An EEnum would be an rdfs:Class (with label, comment and definedBy). Its enumeration literals have rdf:type of the enumeration class, and just a label.
    • Add SysML subclasses in the SysML vocabulary terms
    • Use the SysML v2 non-versioned namespace for the vocabulary terms: @prefix oslc_sysmlv2: <http://www.omg.org/spec/sysmlv2/2.0#> .
    • Set rdfs:comment in the vocab file to be the first paragraph in the eCore description with the markup stripped out.
    • Fix ShapeChecker errors

    The resource shape constraint updates include:

    • Used updated SysML.ecore and KerML.ecore source files for generating shapes files.
    • Add the ResourceShapeConstraints element to the shapes.ttl file
    • Generate Turtle intead of RDF/XML
    • Add Apache License Version 2.0 comment headers to the .ttl files.
    • Add OASIS copyright notice.
    • Add inherited oalc_am:Resource properties to the shapes for KerML and SysML v2 Element
    • Update the versioned namespace for the resource shape constraints: @prefix : <https://www.omg.org/spec/SysML/shapes/20240801#> .
    • Set dcterms:description in the shapes files to the first paragraph in the eCore description (retaining the markup).
    • Separate the class name prefix from the attribute name with _ for the ResourceShapes
    • Add cardinality, range and valueType to shape properties.
    • Fixed ShapeChecker errors
  • Reported: SystemsModelingAPI 1.0b2 — Wed, 1 May 2024 14:30 GMT
  • Updated: Thu, 2 May 2024 17:58 GMT
  • Attachments: