Question: How is the politician Richard Price related to London, the death place of Ken Adam?
Choices: parent organization
influenced by
programming paradigm
distribution
draft pick from school
opposite of
has parts of the class
game mode
native language
work location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Price" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "London" . ?e_4 <place_of_death> ?e_2 . ?e_4 <pred:name> "Ken Adam" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Richard Price
function: And
dependencies: 1
2
function: Find
inputs: Ken Adam
function: Relate
dependencies: 4
inputs: place of death
forward
function: Find
inputs: London
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: work location