Hello all,
I am trying to execute a SPARQL query in like the one below TopBraid
Composer 3.5.0. The query includes the sp:add() function as follows:
SELECT ?sum
WHERE {
....
[some SPARQL to get ?numberone and ?numbertwo]
.....
?numberone test:has-value ?nonevalue .
?numbertwo rule-test:has-value ?ntwovalue .
LET(?sum := sp:add(?nonevalue, ?ntwovalue)) .
}
The problem is that when I execute this query, the returned ?sum variable is
empty. 'test:has-value' is a datatype property I defined in the test
ontology I am using to play around.
Any help is appreciated, thanks,
Alison
--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion 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