Question: The production company of End of Days produced how many animated feature films?
Choices:
19
20
21
22
23
24
25
26
27
28
Answer: 23
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <production_company> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "organization" . ?e_2 <production_company> ?e_1 . ?e_2 <pred:name> "End of Days" .   }
Program:
function: Find
inputs: End of Days
function: Relate
dependencies: 0
inputs: production company
forward
function: FilterConcept
dependencies: 1
inputs: organization
function: Relate
dependencies: 2
inputs: production company
backward
function: FilterConcept
dependencies: 3
inputs: animated feature film
function: Count
dependencies: 4