Question: Tell me the relationship between Dave Foley (the one that got educated at Ohio State University) and Cincinnati.
Choices:
doctoral student
fictional universe described in
owned by
season starts
newspaper format
place of birth
publisher
airline alliance
noble title
legal form
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dave Foley" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Ohio State University" . ?e_2 <pred:name> "Cincinnati" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ohio State University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Dave Foley
function: And
dependencies: 1
2
function: Find
inputs: Cincinnati
function: QueryRelation
dependencies: 3
4