Question: How is New York University alumnus Peter Krause related to the job of actor?
Choices:
has part
occupation
territory claimed by
distribution
main food source
capital of
destination point
highest judicial authority
place of publication
owned by
Program:
function: Find
inputs: New York University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Peter Krause
function: And
dependencies: 1
2
function: Find
inputs: actor
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Krause" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "New York University" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: occupation