Virtuoso is a high-performance and scalable Multi-Model RDBMS, Data Integration Middleware, Linked Data Deployment, and HTTP Application Server Platform
SPARQL ORDER BY in conjunction with the lcase() function seems to break if there are strings with more than 20 characters present
the following sparql query works as expected:
SELECT ?x {
VALUES (?x) { ("c") ("B") ("z") ("Zzzzzzz") ("a") }
}
ORDER BY lcase(?x)
x
LONG VARCHAR
_______________________________________________________________________________
a
B
c
z
Zzzzzzz
when using a string that has more than 20 characters it breaks:
SELECT ?x {
VALUES (?x) { ("c") ("B") ("z") ("Zzzzzzzzzzzzzzzzzzzzz") ("a") }
}
ORDER BY lcase(?x)
x
LONG VARCHAR
_______________________________________________________________________________
a
Zzzzzzzzzzzzzzzzzzzzz
B
c
z
with <= 20 characters it works fine
you can reproduce this behavior on the public dbpedia sparql endpoint
results are the same whether using isql, jdbc or the query editor
SPARQL
ORDER BY
in conjunction with thelcase()
function seems to break if there are strings with more than 20 characters presentthe following sparql query works as expected:
when using a string that has more than 20 characters it breaks:
with <= 20 characters it works fine you can reproduce this behavior on the public dbpedia sparql endpoint results are the same whether using isql, jdbc or the query editor
im running Virtuoso version 7.2.4.2.3217-pthreads