Question: How many films are a part of the film series that includes Batman Returns (which was nominated for an Academy Award for Best Visual Effects)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film series" . ?e_1 <has_part> ?e_3 . ?e_3 <pred:name> "Batman Returns" . ?e_3 <nominated_for> ?e_4 . ?e_4 <pred:name> "Academy Award for Best Visual Effects" .   }
Program:
function: Find
inputs: Academy Award for Best Visual Effects
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Batman Returns
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: has part
backward
function: FilterConcept
dependencies: 4
inputs: film series
function: Relate
dependencies: 5
inputs: part of the series
backward
function: FilterConcept
dependencies: 6
inputs: film
function: Count
dependencies: 7