Question: What is the connection between Gordon Brown (the one that was born in Chesterfield) to United Kingdom?
Choices:
country of citizenship
draft pick from school
subsidiary
official symbol
head of government
founded by
art director
opposite of
works in collection
risk factor
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gordon Brown" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Chesterfield" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chesterfield
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Gordon Brown
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4