Hi!, I'm doing the following query in a sparql endpoint (LinkedMDB), and it
works:

PREFIX mdb: <http://data.linkedmdb.org/resource/movie/>
SELECT ?director?nombre_director?id_director WHERE {
?pelicula mdb:filmid ?id .
?pelicula <http://data.linkedmdb.org/resource/movie/director> ?director .
?director <http://data.linkedmdb.org/resource/movie/director_name>
?nombre_director .
?director <http://data.linkedmdb.org/resource/movie/director_directorid>
?id_director .
FILTER (?id = 72).
}

And i get all the info that i need of the director of the movie with id 72,
wich is Titanic, so i get info of James Cameron. And this works in the same
way from ID 1 to 999

The problems come with movies that have an ID of four digits (or higher),
if i replace the value 72, with 1000, the query doesn't find anything, but
the movie with ID 1000 exist, and have director, director name, and
director id.

Wich is the problem? It should be possible too, right?

Thanks,
Jose

Reply via email to