I\'m a bit confused here. I have the following SPARQL query that works brilliantly against the LinkedMDB explorer.
SPARQL 1.1 introduces more string functions, such as contains, strstarts, and strends which are much more specialized and could be much faster than using a full blown regular expression. However, it doesn't look like the LinkedMDB explorer supports SPARQL 1.1 yet, so those aren't useful here.
If you know the exact name of the movie, it will be much more efficient to simply ask for it instead of using regular expressions. E.g.,
SELECT ?resource WHERE {
?resource movie:filmid ?uri .
?resource dc:title "Forrest Gump" .
}
SPARQL Results
returns the film db:film/38179.