Question: What number of movies are a part of the film series which Ridley Scott directed?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film series" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Ridley Scott" .   }
Program:
function: Find
inputs: Ridley Scott
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: film series
function: Relate
dependencies: 2
inputs: has part
forward
function: FilterConcept
dependencies: 3
inputs: visual artwork
function: Count
dependencies: 4