OWLOntologyManager manager = OWLManager.createOWLOntologyManager();
OWLDataFactory factory = manager.getOWLDataFactory();
OWLOntology ontology = manager.createOntology(URI
.create("http://example.org"));
OWLDataRange dataRange = factory.getOWLDataType(XSDVocabulary.INTEGER
.getURI());
OWLDataRangeFacetRestriction dataRangeFacetRestriction = factory
.getOWLDataRangeFacetRestriction(
OWLRestrictedDataRangeFacetVocabulary.MIN_EXCLUSIVE, 1);
OWLDataRangeRestriction dataRangeRestriction = factory