org.mindswap.pellet.rete
Class Compiler

java.lang.Object
  extended by org.mindswap.pellet.rete.Compiler

public class Compiler
extends java.lang.Object


Constructor Summary
Compiler()
           
Compiler(java.util.Set facts)
           
 
Method Summary
 Compiler compile(java.util.List rules)
           
 java.util.Set compileFacts(ABox abox)
           
 java.util.List convertSWRLRules(java.util.Set rules)
           
 Triple getTripleFromClassAtom(org.semanticweb.owl.rules.OWLRuleClassAtom atom)
           
 Triple getTripleFromPropertyAtom(org.semanticweb.owl.rules.OWLRuleObjectPropertyAtom atom)
           
 AlphaNode makeAlphaNode(Triple pattern)
           
 void makeBetaNetwork(Rule rule, BetaNode betaNode, java.util.List alphaNodeList)
           
 BetaNode makeBetaNode(Node node1, Node node2, boolean futureJoins)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Compiler

public Compiler()

Compiler

public Compiler(java.util.Set facts)
Method Detail

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.