logger.error("Error! The setQuery-Method should be invoked before the run-Method!");
System.err
.println("Error! The setQuery-Method should be invoked before the run-Method!");
} else {
try {
Result result = this.reasoner.doOperation(query);
// Set<OWLNamedIndividual> resultSet = (Set<OWLNamedIndividual>) result.getDeserialisedResult();
Set<OWLNamedIndividual> resultSet = (Set<OWLNamedIndividual>) result.getResult();
pool.writeData(reasoner.getReasonerProperties()
.getProperty("name"), resultSet);
} catch (SecurityException e) {