Map<OWLObjectPropertyExpression, Set<OWLIndividual>> negativeObjectPropertiesMap = individual.getNegativeObjectPropertyValues(owlModelManager.getActiveOntology()); Set<String> negativeObjectProperties = new HashSet<String>(); for(Entry<OWLObjectPropertyExpression, Set<OWLIndividual>> entry : negativeObjectPropertiesMap.entrySet()) {