Question: What is the connection between Sabrina (who is a citizen of the United Kingdom) and Stockport (whose OS grid reference is SJ895900)?
Choices:
publisher
place of death
sport
twinned administrative body
business division
health specialty
location of final assembly
soundtrack album
place of birth
shares border with
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sabrina" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "Stockport" . ?e_2 <OS_grid_reference> ?pv . ?pv <pred:value> "SJ895900" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Sabrina
function: And
dependencies: 1
2
function: Find
inputs: Stockport
function: FilterStr
dependencies: 4
inputs: OS grid reference
SJ895900
function: QueryRelation
dependencies: 3
5