Barton, the message is stating that the script is undefined. Given that the
script URL is http://domain/endpoints#ModifyForm, it seems you need to
replace domain with the name of your server.
If working with TBC-ME, when you first define a SPARQLMotion service or change
it's signature, you
I am fairly new to SPIN and the SPIN API. I am looking for examples that
show how to create a user defined function using the SPIN API and use it
within a query that runs over a model. I am mostly aware of how I could
develop the second part, but I would like help on programmatically creating
I have what I think must be a common problem:
Assume I have a source class with property A, and its value is a list of
strings.
I want to map this to a destination class with multiple instances of
property B, each derived from one of the strings in the list.
My problem is that SPINMap
Hi Monika,
the SPIN API is designed to be driven in the same way that SPIN files
are driven - by declarations in RDF. In other words, the proper way of
defining SPIN functions is to edit them with an RDF editor (such as
TopBraid or a text editor) and then simply load the function definitions
Hi Jack,
first off I would define static JavaScript functions in auxiliary .js
files instead of defining them inline. This makes editing and debugging
easier. The only cases where I would insert JavaScript into the SWP
would be if the code itself needs to be generated dynamically, depending
Hi Steve,
SPINMap has been designed to help people without a deep understanding of
SPIN or SPARQL to build mappings. It covers the most frequently needed
use cases, and provides a syntax that is suitable for graphical editing.
Like every such language with a simplified scope, the expressivity