// Create contexts for init concepts in the ontology
int numConcepts = factory.getTotalConcepts();
for (int i = 0; i < numConcepts; i++) {
Context c = new Context(i, this);
contextIndex.put(i, c);
if (c.activate()) {
todo.add(c);
}
if(log.isTraceEnabled()) {
log.trace("Added context " + i);
}