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

 PREFIX movie: <http://data.linkedmdb.org/resource/movie/film>
 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
 PREFIX dc: <http://purl.org/dc/terms/>
 SELECT ?resource ?id WHERE {
    ?resource movie:id ?id .
    FILTER (?id = 72) .
}

but if i add genre, it doesn't work;
 PREFIX movie: <http://data.linkedmdb.org/resource/movie/film>
 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
 PREFIX dc: <http://purl.org/dc/terms/>
 SELECT ?resource ?id ?genero WHERE {
    ?resource movie:id ?id .
    ?resource movie:genre ?genero .
    FILTER (?id = 72) .
}


With "this doesnt't work" i mean, it works, but it doesn't find anything.
The same happens for every attribute of "movie" type in page of
LinkedMDB<http://data.linkedmdb.org/page/film/2045>here , for some
reason i can't select them, i'm doing anything wrong?

Bye

Reply via email to