NIST STEP to OWL Translator (STP2OWL)
The NIST STEP to OWL Translator (STP2OWL) is an open-source software, and an improved implementation of OntoSTEP. STP2OWL translates STEP schemas (EXPRESS) and instance files (P21) into Web Ontology Language (OWL) files in a faster and more flexible way, thus furthering the adoption of the full capabilities of ISO 10303. Developed at the National Institute of Standards and Technology (NIST), the software is based on the STEPcode and written in C++.
Prerequisites
- STEPcode v0.9
- You must build the STEPcode solution first to generate DLL files.
- The current release was built on Visual Studio 2019 (x64).
- The complete set of DLL files required for the current STP2OWL to run is as follows.
- STEPcode related: stepdai.dll, stepcore.dll, stepeditor.dll, steputils.dll, sdai_ap203.dll, sdai_ap203e2.dll, sdai_ap209.dll, sdai_ap210e2.dll, sdai_ap210e3.dll, sdai_ap214e3.dll, sdai_ap219.dll, sdai_ap227.dll, sdai_ap235.dll, sdai_ap238.dll, sdai_ap239.dll, sdai_ap240.dll, sdai_ap242.dll, sdai_ap242e2.dll, sdai_ifc2x3.dll, sdai_IFC4.dll, sdai_ISO15926.dll, sdai_pdm.dll
- Users can generate new DLLs for new EXPRESS schemas.
Build the STEP to OWL Translator
- Unzip the "stepcode.zip" to where the VS solution file (STP2OWL.sln) is located.
- Create a "stepcode\bin" folder and build the stepcode in that folder using CMake (See here for more details).
- If you want to build a new schema, add it to "stepcode\data" folder beore CMake build.
- Build all the projects in "stepcode\bin\SC.sln".
- Unzip the "schemas.zip" to "stepcode\bin" which will add two files (.cc and .h) for each schema folder in "stepcode\bin\schemas".
- Open "SC.sln" and add unziped files to the corresponding VS project for each schema.
- Rebuild all the projects in "stepcode\bin\SC.sln".
- Build "STP2OWL.sln".
Usage
- NIST STP2OWL is a command line software. Please check out the Usage guide.
Contact Information
- Soonjo Kwon, soonjo.kwon@kumoh.ac.kr
- William Z. Bernstein, william.bernstein@afresearchlab.com
- Laetitia V. Monnier, lve.monnier@gmail.com
Version
1.0
Reference
- Soonjo Kwon, Laetitia V. Monnier, Raphael Barbau, William Z. Bernstein, 2022, A New Implementation of OntoSTEP: Flexible Generation of Ontology and Knowledge Graphs of EXPRESS-Driven Data, ASME Journal of Computing and Information Science in Engineering, 22(2), 024502.