String clsuri, String propuri) {
Set<String> valset = new HashSet<String>();
OWLClass someclass = factory.getOWLClass(IRI.create(clsuri));
for(OWLClassExpression oneclsex : someclass.getSuperClasses(ont)){
if(oneclsex instanceof OWLDataHasValue){
OWLDataHasValue hasvalex = (OWLDataHasValue)oneclsex;
if(hasvalex.getProperty().asOWLDataProperty().getIRI().toString().equals(propuri)){
valset.add(hasvalex.getValue().getLiteral());
}
}
}
return valset;
}