Question: How is Adam Smith who works in Washington, D.C. related to English?
Choices: languages spoken, written or signed
location of final assembly
part of
conflict
distributor
contains settlement
kit supplier
located in the administrative territorial entity
voice actor
edition or translation of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Adam Smith" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Washington, D.C." . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Adam Smith
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4
Answer: languages spoken, written or signed