STEPlib SysML: How To use the Reference Data (OWL) Scripts

Warning

../../_images/construction.png

This page is under construction.

To contribute or participate contact support@boost-lab.net

This page explains how to use the Reference Data Scripts of the STEP architecture to generate OWL.

Installation

Todo

text for this section

Execution

Todo

text for this section

  1. Generate the Core model full XMI by drag-drop STEPlib/Core_model/dvlp/Core_model.mdzip onto STEPlib/utils/MagicDraw/genXMI-full.bat. This creates the STEPlib/Core_model/Core_model_full.xmi
  2. open command window in STEPlib/utils/generate_owl
  3. Run ant from the STEPlib/utils/generate_owl folder

if the latter fails, or ant is not available: #. rename STEPlib/Core_model/refdata/core_v1.owl to STEPlib/Core_model/refdata/core_v1.old #. open command window in STEPlib/utils/generate_owl #. run:

java -jar ../../../../scriptssteplib/saxon9-8-0-6.jar ../../Core_model/Core_model_full.xmi SysMLxmi2owl.xsl > ../../Core_model/refdata/core_v1.owl

.

Todo

Generate the OWL from the generate_owl folder using the following:

java -jar ../saxon9.jar -t ../Domain_model.xml AP243_DomainToOWL.xsl > ../AntPub/input/domain_model.owl
copy ..\AntPub\input\domain_model.owl ..\AntPub\output\data\application_protocols\mossec\refdata\ap243_RDL-en-v1-0.owl /y

Also need to convert to use the Canonical XMI instead of the MagicDraw UML export.

Section author: Judith Crockford (AP243)