Question: What is the population of a metro borough with the capital Manchester (the one that is the formation location of Simply Red) ?
Choices:
2618706
432892
43951351
41212513
8528791
23507800
14377018
58435
530300
11149989
Answer: 530300
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Manchester" . ?e_2 <location_of_formation> ?e_1 . ?e_2 <pred:name> "Simply Red" .  ?e <population> ?pv .  }
Program:
function: Find
inputs: Simply Red
function: Relate
dependencies: 0
inputs: location of formation
forward
function: Find
inputs: Manchester
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: QueryAttr
dependencies: 5
inputs: population