Question: tell me the relationship between Jerry Lewis, who works in Washington DC, to insurance.
Choices:
field of work
software engine
home port
conflict
nutrient
main subject
symptoms
discoverer or inventor
narrative location
film release region
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Jerry Lewis
function: And
dependencies: 1
2
function: Find
inputs: insurance
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jerry Lewis" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Washington, D.C." . ?e_2 <pred:name> "insurance" . ?e_1 ?p ?e_2 .  }
Answer: field of work