// initialize locally cached ontology mapping
LocationMapper mapper = new PrefixMapper("prefix-mapping.n3"); // check if file exists?
LocationMapper.setGlobalLocationMapper(mapper);
if (log.isDebugEnabled()) log.debug("LocationMapper.get(): {}", LocationMapper.get());
DataManager manager = new DataManager(mapper, ARQ.getContext(), getServletContext(), getUriInfo());
FileManager.setStdLocators(manager);
manager.addLocatorLinkedData();
manager.removeLocatorURL();
FileManager.setGlobalFileManager(manager);
if (log.isDebugEnabled()) log.debug("FileManager.get(): {}", FileManager.get());
OntDocumentManager.getInstance().setFileManager(FileManager.get());
OntDocumentManager.getInstance().setCacheModels(true); // lets cache the ontologies FTW!!