On 06/12/13 16:25, Dave Reynolds wrote:
On 06/12/13 15:02, Miguel Bento Alves wrote:
Dear Dave,
"It should be perfectly possible to develop a rule built-in function that
executes a SPARQL query over the underlying base graph.²
How I can do that? T can¹t find out.
Start with
http://jena.apache.org/documentation/inference/#RULEextensions then look
at source code for existing builtins.
You are saying with the mechanisms of the built-in functions and not
using
built-in functions to do an external calling, correct?
Sorry I can't parse that question.
Can you give me a short example?
See e.g. the NoValue class.
And see RuleMap as an example of creating and wiring in a new builtin.
Dave