try {
String name = tokenizer.nextToken();
String uri = tokenizer.nextToken();
String url = tokenizer.nextToken();
//import and index
this.applicationContext.getVocabularySearcher().importAndIndexVocabulary(name, uri,url, new VocabularyImporter());
this.predefinedVocabulariesMap.put(name,new Vocabulary(name, uri));
} catch (Exception e) {
// predefined vocabularies are not defined properly
// ignore the exception, just log it
logger.warn("unable to add predefined vocabularies", e);