public class SPINExplanations extends Object
| Constructor and Description |
|---|
SPINExplanations() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jena.graph.Node |
getClass(org.apache.jena.graph.Triple triple)
Gets the class node that holds the rule that inferred a given inferred triple.
|
org.apache.jena.graph.Node |
getRule(org.apache.jena.graph.Triple triple)
Gets the rule resource defining the rule that inferred a given triple.
|
String |
getText(org.apache.jena.graph.Triple triple)
Gets the explanation text for a given inferred triple.
|
void |
put(org.apache.jena.graph.Triple triple,
String text,
org.apache.jena.graph.Node cls,
org.apache.jena.graph.Node rule)
Stores a Triple - query assignment.
|
public void put(org.apache.jena.graph.Triple triple,
String text,
org.apache.jena.graph.Node cls,
org.apache.jena.graph.Node rule)
triple - the inferred Tripletext - the query text to associate with the triplecls - the class that was holding the rulerule - the query or template call of the rule, or nullpublic org.apache.jena.graph.Node getClass(org.apache.jena.graph.Triple triple)
triple - the Triple to explainpublic org.apache.jena.graph.Node getRule(org.apache.jena.graph.Triple triple)
triple - the inferred Triplepublic String getText(org.apache.jena.graph.Triple triple)
triple - the Triple to explainCopyright © 2017 TopQuadrant, Inc.. All rights reserved.