Hi Christopher,

The query reported as failing in the DBpdia bug report:

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

Works for me against the DBpedia SPARQL endpoint:

        http://dbpedia.org/sparql

Although I did have to increase the query timeout on the page as initially is 
was timing out:

        
http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&should-sponge=&query=SELECT+%3Flabel+WHERE+{%0D%0A%3Fit+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23label%3E+%3Flabel%0D%0AFILTER+regex%28str%28%3Flabel%29%2C+%22^align%22%2C+%22i%22%29%0D%0A}%0D%0ALIMIT+1&format=text%2Fhtml&debug=on&timeout=50000

How is the reporter of the DBpedia bug report running the query, is it also 
directly against the SPARQL endpoint or via some other means ?

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink

On 21 Dec 2009, at 00:36, Christopher Sahnwaldt wrote:

> Virtuoso bug?
> 
> ---------- Forwarded message ----------
> From: DBpedia Bugtracker @ Sourceforge <[email protected]>
> Date: Sun, Dec 20, 2009 at 20:34
> Subject: [Dbpedia-bugs] 2918232 - SELECT using REGEX fails with Error SR580
> To: [email protected]
> 
> 
> View Page
> 
> Submitted By: nobody
> Submitted Date: 2009-12-20 19:28
> Assigned To: Nobody/Anonymous
> 
> Status: Open
> Priority: 5
> Category: None
> Resolution: None
> 
> 
> 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" 
> 
> ______________________________________________
> Dbpedia-bugs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-bugs
> 
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to