Question: How is Ohio Wesleyan University alumnus Maggie Smith related to the profession of poet?
Choices:
editor
publisher
occupation
named after
registered with
residence
field of this occupation
maintained by
place served by transport hub
has dialect (DEPRECATED)
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Maggie Smith" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Ohio Wesleyan University" . ?e_2 <pred:name> "poet" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ohio Wesleyan University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Maggie Smith
function: And
dependencies: 1
2
function: Find
inputs: poet
function: QueryRelation
dependencies: 3
4