Question: How many animated feature films are directed by John Lasseter?
Choices:
3
4
5
6
7
8
9
10
11
12
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <director> ?e_1 . ?e_1 <pred:name> "John Lasseter" .   }
Program:
function: Find
inputs: John Lasseter
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: Count
dependencies: 2