retrieve owl file data using Jena
<p>I have the following owl file and want to retrieve the related data to a given class.</p>

<pre><code>&lt;owl:Class rdf:about="http://purl.obolibrary.org/obo/DOID_0001"&gt;
            &lt;rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/DOID_11"/&gt;   
            &lt;obo:IAO_11 rdf:datatype="http://www.w3.org/2001/XMLSchema#string"&gt;A def def def def.&lt;/obo:IAO_0000115&gt; 
            &lt;oboInOwl:hasDbXref rdf:datatype="http://www.w3.org/2001/XMLSchema#string"&gt;AA:006394&lt;/oboInOwl:hasDbXref&gt;
            &lt;oboInOwl:hasExactSynonym rdf:datatype="http://www.w3.org/2001/XMLSchema#string"&gt;abcde&lt;/oboInOwl:hasExactSynonym&gt; 
            &lt;rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"&gt;ABCDEFG&lt;/rdfs:label&gt;
        &lt;/owl:Class&gt;
</code></pre>

<p>For example I wanted to retrieve the subClassOf which should be DOID_11 without success using the following code:</p>

<pre><code>//create the reasoning model using the base
 OntModel inf = ModelFactory.createOntologyModel();

 // use the FileManager to find the input file
 InputStream in = FileManager.get().open(inputFileName);
 if ( in == null) {
     throw new IllegalArgumentException("File: " + inputFileName + " not found");
 }

 inf.read( in , "");

 ExtendedIterator &lt;? &gt; classes = inf.listClasses();
 while (classes.hasNext()) {
     OntClass essaClasse = (OntClass) classes.next();

     System.out.println("Classe: " + essaClasse.getLocalName());
     for (Iterator &lt;? &gt; i = essaClasse.listSubClasses(); i.hasNext();) {

         OntClass c = (OntClass) i.next();
         System.out.print("   " + c.getLocalName() + "\n");
     } // end for 
 }
</code></pre>

<p>I get just "DOID_0001" instead of "DOID_0001" and "DOID_11". I need also to get all of the other information such as  "" and "