Question: What is the connection between Adam Smith (the one that works in the location Washington, D.C.) to Fordham University?
Choices:
product or material produced
member of political party
educated at
highest judicial authority
manufacturer
after a work by
developer
country for sport
founded by
commissioned by
Answer: educated at
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> "Fordham University" . ?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: Fordham University
function: QueryRelation
dependencies: 3
4