Re: [topbraid-users] User-defined SPIN function: no factory

2015-01-12 Thread Rich Keller
Thanks Scott for that clarification on the .spin extension. As my function does not need to be used elsewhere, I reverted back to my original file, except that I made the function an instance of spin:Function, as Holger indicated. After this change, the function was properly registered. Re: the

Re: [topbraid-users] User-defined SPIN function: no factory

2015-01-09 Thread Rich Keller
Holger: Thanks for your response. I was able to get my SPIN function to run following your advice (though the function does not do what I want -- that's another story). However I'm not clear that things are configured properly with my .spin.ttl file. I didn't find very specific TBC

Re: [topbraid-users] User-defined SPIN function: no factory

2015-01-09 Thread Scott Henninger
Hello Rich;  On the differences with the .spin files, the kennedysSPIN.ttl under TopBraid/Examples file does not define SPIN functions that will be used in other files.  All the .spin does is to register functions so that it can be used in other workspace

[topbraid-users] User-defined SPIN function: no factory

2015-01-08 Thread Rich Keller
Hi. I am getting the following error when performing inferencing: WARN [Thread-25] (E_Function.java:89) - URI http://INSERT-PATH-HERE/data#dailyWITIcalc has no registered function factory The function data:dailyWITIcalc is SPIN function that I created. Presumably it is not properly defined.

Re: [topbraid-users] User-defined SPIN function: no factory

2015-01-08 Thread Holger Knublauch
First you should make sure that the SPIN function is stored in a file ending with .spin.* so that it will be picked up when the system starts. To make sure it got registered, a restart also helps. Also the function must be an instance of spin:Function, not rdf:type owl:Class (first row of