Package org.semanticweb.owl.model

Examples of org.semanticweb.owl.model.SWRLRule


        Set<SWRLAtom> antecedent = Collections.emptySet();
        URI ruleBodyURI = consumer.getResourceObject(mainNode, SWRLVocabulary.BODY.getURI(), true);
        if (ruleBodyURI != null) {
            antecedent = listTranslator.translateToSet(ruleBodyURI);
        }
        SWRLRule rule = null;
        if (!consumer.isAnonymousNode(mainNode)) {
            rule = consumer.getDataFactory().getSWRLRule(mainNode, antecedent, consequent);
        }
        else {
            rule = consumer.getDataFactory().getSWRLRule(mainNode, true, antecedent, consequent);
View Full Code Here

TOP

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

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.