SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/cinematography> <http://dbpedia.org/resource/John_Derek> . ?x <http://dbpedia.org/property/starring> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Film>}
Who all are starring in the  movies where director of photography is John Derek ?
SELECT DISTINCT ?c WHERE { ?q rdf:type ontology:Film . ?q property:cinematography resource:John_Derek . ?q property:starring ?c }
answer
The stars of the movies whose director is John Derek are [answer].
The stars of films directed by John Derek [answer].
The starring of the movies whose director of photography is him are [answer].
The main actors in the films he directs are [answer].