Question: How is the diplomat John Davis related to Iowa State University?
Choices: famous people
head of state
season starts
general manager
quotes work
used by
educated at
child astronomical body
depicts
update method
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "diplomat" . ?e_2 <pred:name> "Iowa State University" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: diplomat
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: Find
inputs: Iowa State University
function: QueryRelation
dependencies: 3
4
Answer: educated at