Question: What is the relationship between Christopher Wren (the priest) and a priest?
Choices: followed by
ethnic group
officeholder
has dialect (DEPRECATED)
occupation
programming language
business division
material used
famous people
set in period
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Christopher Wren" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "priest" . ?e_2 <pred:name> "priest" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: priest
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Christopher Wren
function: And
dependencies: 1
2
function: Find
inputs: priest
function: QueryRelation
dependencies: 3
4
Answer: occupation