Question: What number of US states serve as story locations for the movie Sideways?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Sideways" .   }
Program:
function: Find
inputs: Sideways
function: Relate
dependencies: 0
inputs: narrative location
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Count
dependencies: 2