Property o = model.createProperty(CC_LICENCE);
StmtIterator itr = model.listStatements(null, RDF.type, o);
Set<IDoapLicence> licences = new HashSet<IDoapLicence>();
while (itr.hasNext()) {
String uri = itr.nextStatement().getSubject().getURI();
licences.add(new Licence(model.getResource(uri)));
}
return licences;
}