Question: Gordon Brown of the Australian Labor Party has what connection to the United Kingdom?
Choices: material used
field of this occupation
office held by head of state
twinned administrative body
country of citizenship
significant person
properties for this type
does not have part
diaspora
foundational text
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gordon Brown" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Australian Labor Party" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Australian Labor Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Gordon Brown
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship