Question: What is the connection between Michelangelo (the one that has the occupation of ninja) to poet?
Choices: replaces
place of death
said to be the same as
office held by head of government
located on terrain feature
director of photography
airline hub
model item
occupation
basic form of government
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michelangelo" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "ninja" . ?e_2 <pred:name> "poet" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: ninja
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Michelangelo
function: And
dependencies: 1
2
function: Find
inputs: poet
function: QueryRelation
dependencies: 3
4
Answer: occupation