Question: Count the number of movies whose distributor is RKO Pictures and director of photography is Gregg Toland?
SPARQL query:
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE {?uri prop:distributor <http://dbpedia.org/resource/RKO_Pictures> . ?uri onto:cinematography <http://dbpedia.org/resource/Gregg_Toland> }