ConvertToDBScript

From Protege Wiki
Revision as of 17:16, April 10, 2009 by TaniaTudorache (talk | contribs) (New page: = Script for converting an OWL file to the DB backend = This ant script allows you to convert an OWL file to the database backend. '''Note''' You can also make this conversion using the...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Script for converting an OWL file to the DB backend

This ant script allows you to convert an OWL file to the database backend.


Note You can also make this conversion using the Protege user interface. We have a step by step guide here. However, if for some reason you do not want to make this conversion in the UI (for example, it takes too long and you want to do it over night, etc.), or this is part of a bigger ant script, then you should use this script.


Download the zip archive with the script from here.


To use the OWL to DB conversion script:

  1. Unzip the archive to a directory, e.g. convertOWL-2-db.
  2. Rename convert.properties.template to convert.properties and edit the property values in the file (this is how you specify the input arguments for the conversion).
  3. To run the script, you will need http://ant.apache.org/ ant]. To run, start a console, change to the directory where you copied the 3 files and type ant in the console.