Right click on vehicle-ont and go to Generate Code > Kazuki Interfaces.
Kazuki generates Java interfaces for objects contained in an OWL Ontology file, based on the structure of the ontology. It generates base classes that are not intended to be modified by the user, and it generates custom classes that extend the base classes. The custom classes are meant to be modified by the user.
Switch to the Java Perspective to view the generated Java content.
The CarBuilder project builds OWL Car instances using the Java classes that were created by Kazuki. The CarBuilder Project will be available for download at http://projects.semwebcentral.org/projects/owl-eclipse/ along with the SWeDE release files. After downloading the project, unzip it into your Eclipse workspace directory. Go to File > Import and then select Existing Project into Workspace. To import the CarBuilder project into the workspace, click on Next > and then browse for the CarBuilder directory and click Finish.
Right click on the CarBuilder project and click on Properties. Click on Java Build Path and then view the Libraries tab. Click on the Add Library... button and select Kazuki Library from the list. Click on Next > and then Finish. Repeat these steps to add the Jena Libraries as well. Also go to the Projects tab and place a check next to Vehicles to specify that CarBuilder depends on the Vehicles project. These steps should eliminate any build path errors that might have shown up after importing the project into the workspace.
Run the CarBuilder project as a Java Application. View the program's output in the Console View. Notice that it is a syntactically correct OWL document containing instances of Vehicles that are based on the Kazuki made vehicle interfaces.
OWL Editors and Visualizers
Copyright (c) 1999-2004, BBN Technologies, LLC. All rights reserved.
Using the RDF-XML Editor
Validating OWL Content