|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topbraid.spin.inference.SPINExplanations
public class SPINExplanations
A service that can be used to provide "explanations" of inferred triples. This is populated by the TopSPIN engine and will keep a Map from Triples to the strings of the query.
| Constructor Summary | |
|---|---|
SPINExplanations()
|
|
| Method Summary | |
|---|---|
com.hp.hpl.jena.graph.Node |
getClass(com.hp.hpl.jena.graph.Triple triple)
Gets the class node that holds the rule that inferred a given inferred triple. |
String |
getText(com.hp.hpl.jena.graph.Triple triple)
Gets the explanation text for a given inferred triple. |
void |
put(com.hp.hpl.jena.graph.Triple triple,
String text,
com.hp.hpl.jena.graph.Node cls)
Stores a Triple - query assignment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPINExplanations()
| Method Detail |
|---|
public void put(com.hp.hpl.jena.graph.Triple triple,
String text,
com.hp.hpl.jena.graph.Node cls)
triple - the inferred Tripletext - the query text to associate with the triplecls - the class that was holding the rulepublic String getText(com.hp.hpl.jena.graph.Triple triple)
triple - the Triple to explain
public com.hp.hpl.jena.graph.Node getClass(com.hp.hpl.jena.graph.Triple triple)
triple - the Triple to explain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||