Set<String> result = new HashSet<String>();
try {
URL sourcesURL = new URL(remoteService, "/meta/sources");
Model sourcesModel = ModelFactory.createDefaultModel();
sourcesModel.read(sourcesURL.toString());
ResIterator sourcesIter = sourcesModel.listSubjectsWithProperty(
RDF.type, METAMODEL.Source);
while (sourcesIter.hasNext()) {
result.add(sourcesIter.nextResource().getURI());
}
} catch (MalformedURLException e) {