Hi Jakub, On 24/10/11 10:12, Jakub Krauz wrote: > I work on a project that uses Jena and Jenabean to create an OWL > document from instances of Java classes. > > We add Java annotations to the Jenabean library to describe ontologies, > that´s why we have to use ontology model > ModelFactory.createOntologyModel(); > instead of ModelFactory.createDefaultModel() as we used before. The default ontology model includes RDFS-level inference, which will impose a computational cost. If you don't need reasoning in your project, try:
ModelFactory.createOntologyModel( OntModelSpec.OWL_MEM ); Ian -- ____________________________________________________________ Ian Dickinson Epimorphics Ltd, Bristol, UK mailto:[email protected] http://www.epimorphics.com cell: +44-7786-850536 landline: +44-1275-399069 ------------------------------------------------------------ Epimorphics Ltd. is a limited company registered in England (no. 7016688). Registered address: Court Lodge, 105 High St, Portishead, Bristol BS20 6PT, UK
