Question: What is the relationship between Jon Anderson (the one that is an employee of University of Pittsburgh) and poet?
Choices:
country for sport
licensed to broadcast to
director
seed team
honorific suffix
writing system
occupation
screenwriter
airline alliance
terminus
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jon Anderson" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "University of Pittsburgh" . ?e_2 <pred:name> "poet" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University of Pittsburgh
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: Jon Anderson
function: And
dependencies: 1
2
function: Find
inputs: poet
function: QueryRelation
dependencies: 3
4