Model md = Repository.JOINED.getModel();
md.open();
result.addResults(getResourcesFromCache(queries));
IndexResourceLoader<Person, TaxonomyEntry, KOSEntry, String, String> rl = new IndexBookResourceLoader();
List<IndexResource<Person, TaxonomyEntry, KOSEntry, String, String>> list = rl.loadResources(queries, md);
for(IndexResource<Person, TaxonomyEntry, KOSEntry, String, String> res : list){
if(!resourceCache.containsKey(res.getURIAsString())){
resourceCache.put(res.getURIAsString(),(IndexRdfResource) res);
}
}