for(OWLObjectPropertyAssertionAxiom ax : ont.getObjectPropertyAssertionAxioms(ind)) {
if (!ax.getProperty().isAnonymous()) {
RenderingManager rm = getRenderingManager();
PropertyEntityData propData = rm.getPropertyEntityData(ax.getProperty().asOWLObjectProperty());
OWLIndividual object = ax.getObject();
EntityData valueData;
if(object.isAnonymous()) {
valueData = rm.getEntityData(object.asOWLAnonymousIndividual());
}
else {
valueData = rm.getEntityData(object.asOWLNamedIndividual());
}
EntityData subjectData = rm.getEntityData(ind);
result.add(new Triple(subjectData, propData, valueData));
}
}
for(OWLDataPropertyAssertionAxiom ax : ont.getDataPropertyAssertionAxioms(ind)) {
RenderingManager rm = getRenderingManager();
PropertyEntityData propData = rm.getPropertyEntityData(ax.getProperty().asOWLDataProperty());
EntityData subjectData = rm.getEntityData(ind);
result.add(new Triple(subjectData, propData, rm.getEntityData(ax.getObject())));
}
}
return result;