Package com.clarkparsia.pellet.rules.model

Examples of com.clarkparsia.pellet.rules.model.Rule


    kb.addPropertyValue(p, c, a);
    kb.addPropertyValue(f, a, b);

    List<RuleAtom> body = Arrays.<RuleAtom>asList(new IndividualPropertyAtom(f, x, y), new IndividualPropertyAtom(p, x, z));
    List<RuleAtom> head = Arrays.<RuleAtom>asList(new IndividualPropertyAtom(r, z, y));
    Rule rule = new Rule(head, body);
    kb.addRule(rule);
   
    explainEntailment(kb.hasPropertyValue(b, q, c),
        ATermUtils.makePropAtom(p, c, a),
        ATermUtils.makePropAtom(f, a, b),
View Full Code Here

TOP

Related Classes of com.clarkparsia.pellet.rules.model.Rule

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.