On 30/08/13 13:29, Andrew Reslan wrote:
I have written a bootstrap class that registers the function factory for each
custom function, and then calls the main() method on the FusekiCmd class
passing in any command line args.
I can now see the log4j debug messages from the factory code, but I still
cannot call the functions using the mapped ontology URI's when they were
registered.
I'm guessing this is because I register the functions, then start the fuseki
server, and this is using a different context or is re-initialising the
property function map?
I have a way forward if I use direct java: URI's, but I still can not use the
mapped ontology URI's to access the property functions.
Andy
On 30 Aug 2013, at 11:29, Andrew Reslan <[email protected]> wrote:
I have now made some progress
If I call the custom functions using the java: URI directly to the class, then
the functions are run against the in memory dataset.
The immediate issue is how to register the mappings from the ontology to the
property function Factory, I need to do this as the factory injects config into
the function instances for accessing an external query service.
Andy
On 30 Aug 2013, at 10:58, Andrew Reslan <[email protected]> wrote:
Could you provide a complete, minimal example?
Also ... what specific additional functionality do you ant to add?
Maybe there is another way.
Andy