Question: What is the connection between John Adams (the one that works in the location Washington, D.C.) to Washington, D.C.?
Choices: work location
found
highest judicial authority
properties for this type
founded by
has quality
political ideology
costume designer
copyright holder
subsidiary
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?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 .  }
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Find
inputs: Washington, D.C.
function: QueryRelation
dependencies: 3
4
Answer: work location