Question: What number of Academy Awards did Ben-Hur (the one that was nominated for Academy Award for Best Director) receive?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 6
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-Hur" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Director" .   }
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Ben-Hur
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: award received
forward
function: FilterConcept
dependencies: 4
inputs: Academy Awards
function: Count
dependencies: 5