Utilized Java 7 try with resource
Fix of OWL Ontology