Package org.semanticweb.owl.model

Examples of org.semanticweb.owl.model.OWLDisjointClassesAxiom


    public void handleTriple(URI subject, URI predicate, URI object) throws OWLException {
        consumeTriple(subject, predicate, object);
        URI listNode = getConsumer().getResourceObject(subject, OWLRDFVocabulary.OWL_MEMBERS.getURI(), true);
        if (listNode != null) {
            Set<OWLDescription> desc = getConsumer().translateToDescriptionSet(listNode);
            final OWLDisjointClassesAxiom disjointClassesAxiom = getDataFactory().getOWLDisjointClassesAxiom(desc);
            addAxiom(disjointClassesAxiom);
            getConsumer().addReifiedAxiom(subject, disjointClassesAxiom);
        }
        else {
            throw new OWLRDFXMLParserMalformedNodeException("Malformed AllDisjointClasses -  members triple not present");
View Full Code Here

TOP

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

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.