Question: What is the connection between Jerry Lewis (the one that works in the location Washington, D.C.) to Washington, D.C.?
Choices:
permanent resident of
award disciplines or subjects
work location
official symbol
start point
student of
relative
performer
lyrics by
conflict
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: Washington, D.C.
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> "Washington, D.C." . ?e_1 ?p ?e_2 .  }
Answer: work location