|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.hp.hpl.jena.query.function.FunctionBase
de.fuberlin.wiwiss.wiqa.ExplainableFunction
Abstract base class for ARQ functions that can generate explanations.
In fact, any class implementing Function can
return explanations. This class merely provides a convenience
method returnExplanation(de.fuberlin.wiwiss.wiqa.ExplanationPart) to simplify the process.
Functions produce an RDF node from a number of input RDF nodes. Function instances are generated once at query parse time and then reused. A function can return an explanation for every invocation.
| Constructor Summary | |
ExplainableFunction()
|
|
| Method Summary | |
void |
build(String uri,
List args)
Provide a default implementation of build that does nothing. |
DatasetGraph |
getDataset()
Provides the function with access to the unfiltered dataset. |
void |
returnExplanation(ExplanationPart explanation)
Returns an explanation. |
| Methods inherited from class com.hp.hpl.jena.query.function.FunctionBase |
exec, exec, getArg, getContext, getCurrentBinding |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExplainableFunction()
| Method Detail |
public void build(String uri,
List args)
public DatasetGraph getDataset()
public void returnExplanation(ExplanationPart explanation)
explanation -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||