Question: What is audio engineer John Carter's connection to Los Angeles?
Choices:
place of death
subject has role
highest judicial authority
professional or sports partner
operating system
discoverer or inventor
candidacy in election
location of discovery
designed to carry
office held by head of the organisation
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Carter" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "audio engineer" . ?e_2 <pred:name> "Los Angeles" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: audio engineer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Carter
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: QueryRelation
dependencies: 3
4