return new FixSessionObject(session);
}
public Set<Session> getSessions() {
OWLClass sessionClass = getSessionClass();
NodeSet<OWLNamedIndividual> instances = getReasoner().getInstances(sessionClass, true);
<BUG>Set<OWLNamedIndividual> objects = instances.getFlattened();
return objects.stream().map(FixSessionObject::new).collect(Collectors.toSet());</BUG>
}
protected OWLClass getSessionClass() {
return getDataFactory().getOWLClass(":FixtSession", getDefaultPrefixManager());

return new FixSessionObject(session);
}
public Session getSession(String sessionName) {
OWLNamedIndividual session = getDataFactory().getOWLNamedIndividual("sessions/" + sessionName, getPrefixManager());
return new FixSessionObject(session);
}
public Set<Session> getSessions() {
OWLClass sessionClass = getSessionClass();
NodeSet<OWLNamedIndividual> instances = getReasoner().getInstances(sessionClass, true);
Set<OWLNamedIndividual> objects = instances.entities().collect(Collectors.toSet());
return objects.stream().map(FixSessionObject::new).collect(Collectors.toSet());
}
protected OWLClass getSessionClass() {
return getDataFactory().getOWLClass(":FixtSession", getDefaultPrefixManager());
