org.mindswap.pellet.rete
Class Compiler
java.lang.Object
org.mindswap.pellet.rete.Compiler
public class Compiler
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Compiler
public Compiler()
Compiler
public Compiler(java.util.Set facts)
compile
public Compiler compile(java.util.List rules)
makeBetaNetwork
public void makeBetaNetwork(Rule rule,
BetaNode betaNode,
java.util.List alphaNodeList)
makeAlphaNode
public AlphaNode makeAlphaNode(Triple pattern)
makeBetaNode
public BetaNode makeBetaNode(Node node1,
Node node2,
boolean futureJoins)
getTripleFromPropertyAtom
public Triple getTripleFromPropertyAtom(org.semanticweb.owl.rules.OWLRuleObjectPropertyAtom atom)
throws org.semanticweb.owl.model.OWLException
- Throws:
org.semanticweb.owl.model.OWLException
getTripleFromClassAtom
public Triple getTripleFromClassAtom(org.semanticweb.owl.rules.OWLRuleClassAtom atom)
throws org.semanticweb.owl.model.OWLException
- Throws:
org.semanticweb.owl.model.OWLException
convertSWRLRules
public java.util.List convertSWRLRules(java.util.Set rules)
throws org.semanticweb.owl.model.OWLException
- Throws:
org.semanticweb.owl.model.OWLException
compileFacts
public java.util.Set compileFacts(ABox abox)
Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.