Question: Which US city is located in Los Angeles County where Wil Wheaton resides?
Choices:
Burbank
Arcadia
Long Beach
Compton
Oakland
Santa Monica
New Haven
Columbus
Franklin
West Hollywood
Answer: Arcadia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Los Angeles County" .  ?e_2 <residence> ?e . ?e_2 <pred:name> "Wil Wheaton" .  }
Program:
function: Find
inputs: Los Angeles County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: Wil Wheaton
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6