OWL.onProperty, rp.getResource());
while(it.hasNext()) {
Statement stmt = it.next();
org.ontoware.rdf2go.model.node.Resource restrictionResource = stmt
.getSubject();
OWL_Protege_NRL_Restriction restriction = OWL_Protege_NRL_Restriction
.getInstance(m, restrictionResource);
int min = restriction.getAllMinCardinality_asList().get(0);
log.debug("Found minrestriction on " + rp + " minCard = " + min);
if(min != -1)
jprop.setMinCardinality(min);
int max = restriction.getAllMaxCardinality_asList().get(0);
log.debug("Found maxrestriction on " + rp + " maxCard = " + max);
if(max != -1)
jprop.setMaxCardinality(max);
}
it.close();