log.info("Rebuilding session \"{}\".", sessionId);
sessionOntologies.put(sessionId, new TreeSet<OWLOntologyID>());
attachedScopes.put(sessionId, new TreeSet<String>());
// retrieve the ontologies
if (ses_ur != null) {
for (Iterator<Triple> it2 = meta.filter(ses_ur, MANAGES_URIREF, null); it2.hasNext();) {
Resource obj = it2.next().getObject();
if (obj instanceof UriRef) sessionOntologies.get(sessionId).add(
keymap.buildPublicKey((UriRef) obj) // FIXME must be very temporary!
// ((UriRef) obj).getUnicodeString()
);