|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.hp.hpl.jena.reasoner.rulesys.RuleDerivation
Derivation records are used to determine how an inferred triple was derived from a set of source triples and a reasoner. SubClasses provide more specific information.
| Constructor Summary | |
RuleDerivation(Rule rule,
Triple conclusion,
java.util.List matches,
InfGraph infGraph)
Constructor |
|
| Method Summary | |
Triple |
getConclusion()
|
java.util.List |
getMatches()
|
Rule |
getRule()
|
void |
printTrace(java.io.PrintWriter out,
boolean bindings)
Print a deep traceback of this derivation back to axioms and source assertions. |
java.lang.String |
toString()
Return a short-form description of this derivation. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RuleDerivation(Rule rule,
Triple conclusion,
java.util.List matches,
InfGraph infGraph)
rule - the rule which created this derivationconclusion - the triple which the rule createdmatches - a list of matching Triples corresponding to the rule body patternsinfGraph - the parent infGraph which was controlling the derivation| Method Detail |
public java.lang.String toString()
toString in interface Derivation
public void printTrace(java.io.PrintWriter out,
boolean bindings)
printTrace in interface Derivationout - the stream to print the trace out tobindings - set to true to print intermediate variable bindings for
each stage in the derivationpublic Triple getConclusion()
public java.util.List getMatches()
public Rule getRule()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||