On 16/07/14 09:09, Marco Tenti wrote:
  Hello everyone, I want to create the Java class that corresponds to my
ontology .owl, for this i'm going use the tool schemagen.bat with Windows, but
in the java class there are only the Resource while the Property and  the
Individuals not.
Any idea on how to solve the problem? here is the code entered in the prompt of
the programs with the goodrelations ontology for example:

c:\Program Files\Apache Software Foundation\apache-jena-2.11.2\bat>
schemagen.bat

  java jena.schemagen -i
http://www.heppnetz.de/ontologies/goodrelations/v1.owl  -n GoodRelations -a
http://purl.org/goodrelations/v1# -e OWL -o c:\Users\Utente\Desktop
--ontology

-e gives the surface syntax (e.g. RDF/XML) and is not necessary in this case.

To say that the ontology is in OWL use --owl

Dave

Reply via email to