Question: How many animated movies were produced by a film production company that is the subsidiary of Walt Disney Animation Studios?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" . ?e <production_company> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film production company" . ?e_1 <subsidiary> ?e_2 . ?e_2 <pred:name> "Walt Disney Animation Studios" .   }
Program:
function: Find
inputs: Walt Disney Animation Studios
function: Relate
dependencies: 0
inputs: subsidiary
backward
function: FilterConcept
dependencies: 1
inputs: film production company
function: Relate
dependencies: 2
inputs: production company
backward
function: FilterConcept
dependencies: 3
inputs: animated film
function: Count
dependencies: 4