Question: What is the connection between John Williams (the one that hold the position bishop) to priest?
Choices: shares border with
replaces
occupation
patron saint
statistical leader
set in period
screenwriter
worshipped by
voice type
diplomatic relation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <position_held> ?e_3 . ?e_3 <pred:name> "bishop" . ?e_2 <pred:name> "priest" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: bishop
function: Relate
dependencies: 0
inputs: position held
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: priest
function: QueryRelation
dependencies: 3
4
Answer: occupation