Question: What is the relationship between Elizabeth Taylor (the one that died in Buckinghamshire) and a writer?
Choices: has cause
main subject
substitute/deputy/replacement of office/officeholder
occupation
inspired by
cause of death
family
significant person
operating system
partner
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Elizabeth Taylor" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Buckinghamshire" . ?e_2 <pred:name> "writer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Buckinghamshire
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Elizabeth Taylor
function: And
dependencies: 1
2
function: Find
inputs: writer
function: QueryRelation
dependencies: 3
4
Answer: occupation