Question: What is the connection between Warren Ellis (the one that is the screenwriter of Iron Man 3) to writer?
Choices: season starts
is a list of
published in
voice type
medical condition
occupation
talk show guest
family name
works in collection
substitute/deputy/replacement of office/officeholder
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Warren Ellis" . ?e_3 <screenwriter> ?e_1 . ?e_3 <pred:name> "Iron Man 3" . ?e_2 <pred:name> "writer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Iron Man 3
function: Relate
dependencies: 0
inputs: screenwriter
forward
function: Find
inputs: Warren Ellis
function: And
dependencies: 1
2
function: Find
inputs: writer
function: QueryRelation
dependencies: 3
4
Answer: occupation