refactored a couple of bits in OWLDataFactoryImpl