title: Couldn't Load OWL file using OWLAPI
body: <p>I’m trying to load .owl file using owlapi thorough net beans to insert individual and its data properties using the code listed in owlapi documentation but it couldn't load the file, but when I converted the .owl file to .rdf format it was loaded successfully and i was able to insert the required data. I need to manipulate .owl file not .rdf format</p>
  
  <p>Following is the code I have used to load the .owl without succeed</p>
  
  <blockquote>
  <pre><code>     File fileBase = new File("src/java/ontology.owl);
       OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
       OWLOntology ontology= manager.loadOntologyFromOntologyDocument(fileBase);
  </code></pre>
  </blockquote>
  
  <p>but when i have used the rdf fromat as shown below it was loaded succefully </p>
  
  <blockquote>
  <pre><code>     File fileBase = new File("src/java/ontology.rdf);
  </code></pre>
  </blockquote>
  
  <p>So how can I overcome this issue and load the .owl file?</p>
  
  <p>Is the following command is the best command to save the axioms to ontology file?</p>
  
  <blockquote>
    <p>manager.saveOntology(ontology);</p>
  </blockquote>