Question: How many MTV Movie Awards were nominated to the Dark Knight, which was released in the United States of America?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "MTV Movie Awards" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "The Dark Knight" . ?e_1 <film_release_region> ?e_2 . ?e_2 <pred:name> "United States of America" .   }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Dark Knight
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: MTV Movie Awards
function: Count
dependencies: 5