LexEVS 6.0 provides two methods to export loaded ontologies to an OWL/RDF format. One is to use the LexEVS administration GUI; and the other is to use an export script on the command line.
Preliminary Considerations
- The OWL/RDF exporter is based on Jena 2.6.3. While it exports an OWL file, it also builds up a triple store. The triple store tables stored in the same same database that LexEVS uses.
- The LexEVS 6.0 retrieval API has the limitation of retrieving the association that is from an entity to a data/value. Thus, the OWL/RDF exporter, based on LexEVS retrieval API, has the limitation of handling the owl:hasValue, owl:maxCardinality, owl:minCardinality, owl:cardinality constraints as well.
- The OWL/RDF exporter now can convert OWL, RDF, OBO, and UML formats to OWL/RDF. If the terminology format is not on this list, the exported OWL ontology may be incorrect.
Running an OWL/RDF export with the administration GUI
If you chose to install the LexEVS GUI when you installed LexEVS, you will have a 'gui' folder inside of your LexEVS home directory. Assuming you installed the GUI for all operating systems, you will have the following programs under the 'gui' folder:
- Linux_64-lbGUI.sh
- Linux-lbGUI.sh
- OSX-lbGUI.command
- Windows-lbGUI.bat
Step |
Action |
---|---|
1. Launch the GUI by executing the appropriate executable for your platform. You will be presented with an application that looks like this. If the Available Code System table is empty, you will need to load at least one ontology. |
!GUI_Launch.jpg_! in the Administration Guide. |
Click the 'Export' button, the exporter will generate the OWL file to the specified path. | [[Image:Standard_Exporter_Interface.JPG | 400px |
Running an OWL/RDF export script from the command line
After installing LexEVS, you will have an 'admin' folder inside of your LexEVS base installation. The OWL/RDF exporter shell script is in this folder, called ExportOwlRdf.sh (for Linux or Windows).
This command will export OWL/RDF without a GUI. For detailed information please refer to the command line parameters for this commend in the Administration Guide.
Examples:
ExportOwlRdf -out "file:///path/to/dir" -f
ExportOwlRdf -out "file:///path/to/dir" -u "sample" -v "1.0" -f
Administration GUI export walk-through example
This walk through will show you how to load a terminology and then export it in OWL/RDF format.
Step |
Action |
---|---|
1. Launch the administration GUI. |
!LexEVS_Launch_GUI_Admin.png_! |