OWLlinkReasonerConfiguration reasonerConfiguration = new OWLlinkReasonerConfiguration(progressMonitor, url, IndividualNodeSetPolicy.BY_SAME_AS);
OWLlinkHTTPXMLReasonerFactory reasonerFactory = new OWLlinkHTTPXMLReasonerFactory();
OWLlinkHTTPXMLReasoner reasoner = (OWLlinkHTTPXMLReasoner) reasonerFactory.createReasoner(ontology, reasonerConfiguration);
// Get SubClasses+
OWLClass cls = factory.getOWLClass(IRI.create( CLASS_IRI ) );
GetSubClasses getSubClasses = new GetSubClasses(reasoner.getDefaultKB(), cls);
SetOfClassSynsets synsets = reasoner.answer(getSubClasses);
for( Node<OWLClass> sc : synsets )
for( OWLClass c : sc )
System.out.println( c );