2

Right now I'm developing an App for querying the LMDB. LMDB has set a LIMIT for the results in order to prevent page crash (max 2500 results). I want to query the WHOLE LMDB and I was wondering if there's some way to get the whole data that is in the LMDB and not only the limited 2500 results ?

The query that I run:

PREFIX mdb: <http://data.linkedmdb.org/resource/movie/film> 
PREFIX dc: <http://purl.org/dc/terms/> 
SELECT ?movieName ?resource WHERE {
?resource dc:title ?movieName .
?resource mdb:id ?uri . 
FILTER regex(?movieName,'The Mexican', 'i')}

I get no results.

If I change the last line: FILTER regex(?movieName,'The Mexican', 'i')} to ?resource dc:title 'The Mexican' I get the desired results. This means that the data about this movie is actually in the LMDB but because of the LIMIT I can't access all entries unless I type in the EXACT name of the movie I'm searching for.

The App that I'm building uses search fields and I can't expect the users to know the exact name of the movie that's why I'm using FILTER regex().

What would be the way to fix this problem? Please help me. Should I download a local copy and run the queries against it or is there another way?

I wanted to contact the LMDB staff about this but I couldn't find any contact information

4

0 回答 0