Question: What US city is the filming location of a feature film titled Pirates of the Caribbean: At World's End ?
Choices:
San Diego
Los Angeles
Oceanside
Washington, D.C.
California
Morgantown
Utah
Santa Monica
Niagara Falls
Bahamas
Answer: Niagara Falls
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <filming_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "feature film" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> "Pirates of the Caribbean: At World's End" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Pirates of the Caribbean: At World's End
function: FilterConcept
dependencies: 1
inputs: feature film
function: Relate
dependencies: 2
inputs: filming location
forward
function: FilterConcept
dependencies: 3
inputs: city of the United States
function: What
dependencies: 4