public Set<Session> getSessions() {
StructuralReasonerFactory reasonerFactory = new StructuralReasonerFactory();
OWLReasoner reasoner = reasonerFactory.createReasoner(getDerivedModel());
OWLClass sessionClass = getSessionClass();
NodeSet<OWLNamedIndividual> instances = reasoner.getInstances(sessionClass, true);
<BUG>Set<OWLNamedIndividual> objects = instances.getFlattened();
return objects.stream().map(OuchSessionObject::new).collect(Collectors.toSet());</BUG>
}
protected OWLClass getSessionClass() {
OWLClass subClass = getDataFactory().getOWLClass(":OuchSession", getDefaultPrefixManager());

public Set<Session> getSessions() {
StructuralReasonerFactory reasonerFactory = new StructuralReasonerFactory();
OWLReasoner reasoner = reasonerFactory.createReasoner(getDerivedModel());
OWLClass sessionClass = getSessionClass();
NodeSet<OWLNamedIndividual> instances = reasoner.getInstances(sessionClass, true);
Set<OWLNamedIndividual> objects = instances.entities().collect(Collectors.toSet());
return objects.stream().map(OuchSessionObject::new).collect(Collectors.toSet());
}
protected OWLClass getSessionClass() {
OWLClass subClass = getDataFactory().getOWLClass(":OuchSession", getDefaultPrefixManager());
