Package org.semanticweb.owlapi.owllink

Examples of org.semanticweb.owlapi.owllink.OWLlinkHTTPXMLReasoner


      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 );
           
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.owllink.OWLlinkHTTPXMLReasoner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.