Question: How is Paul Newman, educated at University of Pennsylvania, related to Yale University?
Choices:
honorific prefix
honorific suffix
employer
league
designed by
presenter
main food source
founded by
airline alliance
located on terrain feature
Program:
function: Find
inputs: University of Pennsylvania
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Paul Newman
function: And
dependencies: 1
2
function: Find
inputs: Yale University
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paul Newman" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Pennsylvania" . ?e_2 <pred:name> "Yale University" . ?e_1 ?p ?e_2 .  }
Answer: employer