public QueryEngine(File file) throws OWLOntologyCreationException {
	this.setManager(OWLManager.createOWLOntologyManager());
	this.setOntology(this.getManager().loadOntologyFromOntologyDocument(file));
	System.out.println("Loaded ontology: " + this.getOntology().getOntologyID());
//	OWLReasonerFactory reasonerFactory = new Reasoner.ReasonerFactory();
	OWLReasonerFactory reasonerFactory = new ElkReasonerFactory();
	this.setReasoner(reasonerFactory.createReasoner(this.getOntology()));
	this.getReasoner().precomputeInferences(InferenceType.CLASS_HIERARCHY);
	this.setShortFormProvider(new SimpleShortFormProvider());
	Set<OWLOntology> importsClosure = this.getOntology().getImportsClosure();
	this.setBidiShortFormProvider(new BidirectionalShortFormProviderAdapter(this.getManager(), importsClosure, this.getShortFormProvider()));
    }