Question: Homeland was filmed in which capital?
Choices:
Manila
Lausanne
Berlin
North Carolina
Prague
Ottawa
New York City
Charlotte
Strasbourg
Cape Town
Program:
function: Find
inputs: Homeland
function: Relate
dependencies: 0
inputs: filming location
forward
function: FilterConcept
dependencies: 1
inputs: capital
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Homeland" .   }
Answer: Cape Town