.. comment all inline tags to start with _how_scpt_owl_ .. index:: Scripts; How to - Reference Data .. index:: Scripts; How to - OWL .. _how_scpt_owl_top: STEPlib SysML: How To use the Reference Data (OWL) Scripts ########################################################## .. include:: /pages/common/pageunderconstruction.txt :start-line: 3 This page explains how to use the Reference Data Scripts of the STEP architecture to generate OWL. .. contents:: Contents: :local: :depth: 1 :backlinks: top ============= Installation ============= .. todo:: text for this section ============= Execution ============= .. todo:: text for this section #. 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 #. open command window in STEPlib/utils/generate_owl #. 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 |MD| UML export. .. sectionauthor:: |Judith Crockford| .. include:: /keywords.rst