Question: How many Academy Awards were nominated to John Wayne and are conferred by the Academy of Motion Picture Arts and Sciences?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Academy Awards" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "John Wayne" .  ?e <conferred_by> ?e_2 . ?e_2 <pred:name> "Academy of Motion Picture Arts and Sciences" .  }
Program:
function: Find
inputs: John Wayne
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: Academy Awards
function: Find
inputs: Academy of Motion Picture Arts and Sciences
function: Relate
dependencies: 3
inputs: conferred by
backward
function: FilterConcept
dependencies: 4
inputs: Academy Awards
function: And
dependencies: 2
5
function: Count
dependencies: 6