On 07/05/13 19:36, Martynas Jusevičius wrote:
BTW, I'm using Jena 2.7.2 / ARQ 2.9.2.
On Tue, May 7, 2013 at 9:34 PM, Martynas Jusevičius
<[email protected]> wrote:
Hey,
with such query string
SELECT * { ?s ?p ?o } ORDER BY ASC(STR(?o))
passed into QueryFactory.create() and calling toString() on the Query
object, what I get back is:
SELECT *
WHERE
{ ?s ?p ?o }
ORDER BY ASCstr(?o)
where ASC is missing parentheses . DESC() doesn't have this problem. I
assume it's a bug?
Martynas
graphity.org
Thanks - I've put in some safe code so it will not happen. It may end
up with more level of parentheses than necessary but it's safe and correct.
Andy
PS You can always try a recent version at sparql.org