}
} catch (final URISyntaxException e1) {
System.err.println(e1);
e1.printStackTrace();
}
final Dataset dataset = new Dataset(
defaultGraphs,
new LinkedList<URILiteral>(),
inp[0],
this.getONTOLOGYRDFS(this.rdfs),
BasicIndexScan.MERGEJOIN,
new Dataset.IndicesFactory() {
@Override
public Indices createIndices(
final URILiteral uriLiteral) {
return new SixIndices(uriLiteral);
}
@Override
public lupos.engine.operators.index.Root createRoot() {
return new lupos.engine.operators.index.adaptedRDF3X.RDF3XRoot();
}
}, this.debug == DEBUG.ALL || this.debug == DEBUG.WITHOUTRESULT,
this.inmemoryexternalontologyinference);
// get now the data plus inferred triples of the external
// ontology...
this.externalOntology = (SixIndices) dataset
.getDefaultGraphIndices().iterator().next();
}
} else {
this.externalOntology = null;
}