Question: How many Academy Awards were nominated to A Star Is Born (the one that was nominated for Academy Award for Best Writing, Adapted Screenplay)?
Choices: 0
1
2
3
4
5
6
7
8
9
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> "A Star Is Born" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" .   }
Program:
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: A Star Is Born
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Academy Awards
function: Count
dependencies: 5
Answer: 6