classMap.put(cat, ontCtx.getModel().getOntClass(code));
}
}
int numberrecord = 0;
Iterator<String> CatOnt = classMap.keySet().iterator();
while (CatOnt.hasNext()) {
String key = CatOnt.next();
OntTools.Path path =
OntTools.findShortestPath(ontCtx.getModel(), search, classMap.get(key),
Filter.any);