Question: What is the connection between Gordon Brown (the one that hold the position Prime Minister of the United Kingdom) to Church of Scotland?
Choices: interests
art director
update method
native language
chief executive officer
league
country of citizenship
nutrient
honorific prefix
religion
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gordon Brown" . ?e_1 <position_held> ?e_3 . ?e_3 <pred:name> "Prime Minister of the United Kingdom" . ?e_2 <pred:name> "Church of Scotland" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Prime Minister of the United Kingdom
function: Relate
dependencies: 0
inputs: position held
backward
function: Find
inputs: Gordon Brown
function: And
dependencies: 1
2
function: Find
inputs: Church of Scotland
function: QueryRelation
dependencies: 3
4
Answer: religion