Question: I want to know the relationship between Kraft Foods and Chicago (which is where Philip k. Dick was born)
Choices:
work location
field of work
native language
location of formation
filmography
spouse
has effect
original network
home venue
talk show guest
Answer: location of formation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kraft Foods" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Philip K. Dick" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kraft Foods
function: Find
inputs: Philip K. Dick
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4