Question: How is Gordon Brown whose birth name is James Gordon Brown related to Church of Scotland?
Choices:
religion
place of publication
platform
capital
cast member
cites
discoverer or inventor
office held by head of government
diaspora
relative
Program:
function: Find
inputs: Gordon Brown
function: FilterStr
dependencies: 0
inputs: birth name
James Gordon Brown
function: Find
inputs: Church of Scotland
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gordon Brown" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "James Gordon Brown" . ?e_2 <pred:name> "Church of Scotland" . ?e_1 ?p ?e_2 .  }
Answer: religion