protected boolean shouldInsertDeclarations() {
return !(format instanceof RDFOntologyFormat) || ((RDFOntologyFormat) format).isAddMissingTypes();
}
protected void createGraph(Set<? extends OWLObject> objects) {
RDFTranslator translator = new RDFTranslator(manager, ontology, shouldInsertDeclarations());
for (OWLObject obj : objects) {
obj.accept(translator);
}
graph = translator.getGraph();
}