Question: How many James Bond movies are there?
SPARQL:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX yago: <http://dbpedia.org/class/yago/> 
SELECT COUNT(DISTINCT ?uri) 
WHERE {
        ?uri rdf:type yago:JamesBondFilms . 
}