Question: What independent city is the filming location of the film titled Borat?
Choices:
Los Angeles
Roanoke
Suffolk
Lynchburg
Fairfax
Virginia
Danville
Virginia Beach
New York City
Dallas
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Borat
function: FilterConcept
dependencies: 1
inputs: film
function: Relate
dependencies: 2
inputs: filming location
forward
function: FilterConcept
dependencies: 3
inputs: independent city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e_1 <filming_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <title> ?pv . ?pv <pred:value> "Borat" .   }
Answer: Roanoke