Package org.semanticweb.owl.model

Examples of org.semanticweb.owl.model.OWLSubClassAxiom


    OWLDataSomeRestriction dataSomeRestriction = factory
        .getOWLDataSomeRestriction(p, dataRangeRestriction);

    OWLClass c = factory.getOWLClass(URI.create("http://example#c"));

    OWLSubClassAxiom sc = factory.getOWLSubClassAxiom(c,
        dataSomeRestriction);

    manager.addAxiom(ontology, sc);
   
    Reasoner reasoner = new Reasoner(manager);
View Full Code Here

TOP

Related Classes of org.semanticweb.owl.model.OWLSubClassAxiom

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.