Question: How many Academy Awards has Ben Affleck received?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Academy Awards" . ?e_1 <award_received> ?e . ?e_1 <pred:name> "Ben Affleck" .   }
Program:
function: Find
inputs: Ben Affleck
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: Academy Awards
function: Count
dependencies: 2