Question: How many California counties are a filming location of North by Northwest and are located on terrain feature Lake District?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "North by Northwest" .  ?e <located_on_terrain_feature> ?e_2 . ?e_2 <pred:name> "Lake District" .  }
Program:
function: Find
inputs: North by Northwest
function: Relate
dependencies: 0
inputs: filming location
forward
function: FilterConcept
dependencies: 1
inputs: county of California
function: Find
inputs: Lake District
function: Relate
dependencies: 3
inputs: located on terrain feature
backward
function: FilterConcept
dependencies: 4
inputs: county of California
function: And
dependencies: 2
5
function: Count
dependencies: 6