I have below owl class in my ontology, i want to retrive values in xsd:maxInclusive tags. in another words i want to get value '150' under hasCharacterCount property. How can i achieve this task??. i tried using jena api but i was only able to get class names and property names.
<owl:Class rdf:about="http://www.semanticweb.org/ontologies/research/mid-review#Abstract">
<owl:equivalentClass>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<owl:Restriction>
<owl:onProperty rdf:resource="http://www.semanticweb.org/ontologies/research/mid-review#hasCharacterCount"/>
<owl:someValuesFrom>
<rdfs:Datatype>
<owl:onDatatype rdf:resource="&xsd;integer"/>
<owl:withRestrictions rdf:parseType="Collection">
<rdf:Description>
<xsd:maxInclusive rdf:datatype="&xsd;integer">150</xsd:maxInclusive>
</rdf:Description>
</owl:withRestrictions>
</rdfs:Datatype>
</owl:someValuesFrom>
</owl:Restriction>
<owl:Restriction>
<owl:onProperty rdf:resource="http://www.semanticweb.org/ontologies/research/mid-review#hasCharacterCount"/>
<owl:someValuesFrom>
<rdfs:Datatype>
<owl:onDatatype rdf:resource="&xsd;integer"/>
<owl:withRestrictions rdf:parseType="Collection">
<rdf:Description>
<xsd:maxInclusive rdf:datatype="&xsd;integer">200</xsd:maxInclusive>
</rdf:Description>
</owl:withRestrictions>
</rdfs:Datatype>
</owl:someValuesFrom>
</owl:Restriction>
</owl:unionOf>
</owl:Class>
</owl:equivalentClass>
</owl:Class>