try {
Set<Node<OWLObjectPropertyExpression>> values = new HashSet<Node<OWLObjectPropertyExpression>>();
for( Set<ATermAppl> val : kb.getSuperProperties( term( pe ), direct ) ) {
values.add( toObjectPropertyNode( val ) );
}
return new OWLObjectPropertyNodeSet( values );
} catch( PelletRuntimeException e ) {
throw convert( e );
}
}