Performance comparison: direct select or regex filter ?

Hi there,

How different are these queries in terms of performance:

1) SELECT * WHERE { ?x foaf:name "John Smith"@en }

2) SELECT * WHERE { ?x foaf:name ?y. FILTER regex(?y,"^John Smith") }


Regards,
Parsa B. Ghaffari

Received on Thursday, 29 April 2010 16:30:22 UTC