Question: What is the population of a metro borough with the capital Rochdale (the one whose OS grid reference is SD893130) ?
Choices: 1660811
214200
422856
10479386
635256
694074
49823
345425
140567
98714
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Rochdale" . ?e_1 <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "SD893130" . ?e <population> ?pv .  }
Program:
function: Find
inputs: Rochdale
function: FilterStr
dependencies: 0
inputs: OS grid reference
SD893130
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: metropolitan borough
function: QueryAttr
dependencies: 3
inputs: population
Answer: 214200