#22 SELECT using REGEX fails with Error SR580

closed-works-for-me
Bug (92)
5
2012-03-17
2009-12-20
Anonymous
No

The following (trivial) query succeeds

SELECT ?label WHERE {
?it <http://www.w3.org/2000/01/rdf-schema#label> ?label
FILTER (?label = "align")
}
LIMIT 1

this similar one fails

SELECT ?label WHERE {
?it <http://www.w3.org/2000/01/rdf-schema#label> ?label
FILTER regex(str(?label), "^align", "i")
}
LIMIT 1

The error message I get back is the cryptic

"22023 Error SR580: RDF box refers to row with RO_ID = 26184835 of table DB.DBA.RDF_OBJ, but no such row in the table"

Discussion

    • status: open --> closed-works-for-me
     
    • labels: --> Bug
    • milestone: --> Virtuoso @ dbpedia.org
    • assigned_to: nobody --> jcsahnwaldt