Question: What film's release region is the United States city that is the filming location of Wanted (that has Common as a cast member)?
Choices:
The Cat in the Hat
Election 2
Memento
The Social Network
Beasts of the Southern Wild
Friends with Benefits
In the Mood for Love
The Aviator
The Blues Brothers
Once Upon a Time in America
Answer: The Blues Brothers
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <film_release_region> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "Wanted" . ?e_2 <cast_member> ?e_3 . ?e_3 <pred:name> "Common" .   }
Program:
function: Find
inputs: Common
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Wanted
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: Relate
dependencies: 5
inputs: film release region
backward
function: FilterConcept
dependencies: 6
inputs: film
function: What
dependencies: 7