Question: For how many movies have the music composer composed music, who have collaborated with Yes ?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:associatedMusicalArtist <http://dbpedia.org/resource/Yes_(band)> . ?uri onto:musicComposer ?x  . ?uri rdf:type onto:Film}