line = line.trim();
if ( (line.length() > 0)&&(line.charAt(0) != '#') ){
String[] parts = line.split(" ",2);
String uri = parts[0].trim();
String name = parts[1].trim();
objects.add(new InputOntology(new URI(uri),name));
}
}
reader.close();
return objects;
}