Question: What U.S. city is the death place of Tex Avery and borders Los Angeles?
Choices:
Franklin
Waukegan
New Haven
Oakland
Long Beach
Culver City
Beverly Hills
Santa Monica
Burbank
Inglewood
Program:
function: Find
inputs: Tex Avery
function: Relate
dependencies: 0
inputs: place of death
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: Los Angeles
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Tex Avery" .  ?e <shares_border_with> ?e_2 . ?e_2 <pred:name> "Los Angeles" .  }
Answer: Burbank