Hello all,
I would like to be able to define the body of a SPIN function that returns
two variables, e.g.
SELECT ?x ?y
WHERE {
?example test:x ?x .
?example text:y ?y .
}
My question is: if such a function is possible, how are the results bound
when the function is called? In my experience with SPIN I have written
functions that return one variable, and thus the result is bound to a
single variable when the function is called. For example, if I have a SPIN
function called "functionA" where the spin:body is:
SELECT ?a
WHERE {
?example test:a ?a .
}
I would call this function and bind the result as
BIND(:functionA(?aVariable) AS ?returnedA) .
Is it possible to write a similar function that returns two (or more)
variables?
Any help is appreciated!
Alison
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.