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