Question: The capital of which Virginia county is the independent city where Homeland is filmed?
Choices: Westmoreland County
Henrico County
Warren County
Frederick County
Virginia
Albemarle County
Loudoun County
Arlington County
Confederate States of America
Augusta County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Virginia" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "independent city" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "Homeland" .   }
Program:
function: Find
inputs: Homeland
function: Relate
dependencies: 0
inputs: filming location
forward
function: FilterConcept
dependencies: 1
inputs: independent city
function: Relate
dependencies: 2
inputs: capital
backward
function: FilterConcept
dependencies: 3
inputs: county of Virginia
function: What
dependencies: 4
Answer: Henrico County