Question: What does Will Smith (who was educated at Ohio State University) have to do with Queens?
Choices:
month of the year
enclave within
operating system
main food source
named after
place of birth
official language
professional or sports partner
language of work or name
geography of topic
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Will Smith" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Ohio State University" . ?e_2 <pred:name> "Queens" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ohio State University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Will Smith
function: And
dependencies: 1
2
function: Find
inputs: Queens
function: QueryRelation
dependencies: 3
4