OWLDataPropertyRangeAxiom rangeAxiom = df.getOWLDataPropertyRangeAxiom(
hasAge, integerGE18);
OWLOntology o = m.createOntology(IRI
.create("http://www.semanticweb.org/ontologies/dataranges"));
// Add the range axiom to our ontology
m.addAxiom(o, rangeAxiom);
// Now create a datatype definition axiom
OWLDatatypeDefinitionAxiom datatypeDef = df
.getOWLDatatypeDefinitionAxiom(
df.getOWLDatatype(IRI
.create("http://www.semanticweb.org/ontologies/dataranges#age")),