Question: How many feature movies had a costume designer who worked as a costume designer for The Rocketeer (where James Horner was the composer_ ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <costume_designer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <costume_designer> ?e_1 . ?e_2 <pred:name> "The Rocketeer" . ?e_2 <composer> ?e_3 . ?e_3 <pred:name> "James Horner" .   }
Program:
function: Find
inputs: James Horner
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Rocketeer
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: costume designer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: costume designer
backward
function: FilterConcept
dependencies: 6
inputs: feature film
function: Count
dependencies: 7