Set<OWLNamedIndividual> objects =
<BUG>getReasoner().getObjectPropertyValues(sessionInd, hasProperty).getFlattened();
</BUG>
for (OWLNamedIndividual sessionChild : objects) {
<BUG>Set<OWLClass> classes = getReasoner().getTypes(sessionChild, true).getFlattened();
</BUG>
if (classes.contains(tcpTransportClass)) {
OWLDataProperty hasAddressProperty =
dataFactory.getOWLDataProperty(":hasAddress", getDefaultPrefixManager());
Set<OWLLiteral> values =

Set<OWLNamedIndividual> objects =
getReasoner().getObjectPropertyValues(sessionInd, hasProperty).entities().collect(Collectors.toSet());
for (OWLNamedIndividual sessionChild : objects) {
Set<OWLClass> classes = getReasoner().getTypes(sessionChild, true).entities().collect(Collectors.toSet());
if (classes.contains(tcpTransportClass)) {
OWLDataProperty hasAddressProperty =
dataFactory.getOWLDataProperty(":hasAddress", getDefaultPrefixManager());
Set<OWLLiteral> values =
