Question: What is the population for the metropolitan borough that has the capital of Bradford (the one that is the twinned administrative body of Galway)?
Choices:
5315835
82048
8958013
531200
28874
76130
42912350
35158300
21740
4937
Program:
function: Find
inputs: Galway
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Bradford
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
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Bradford" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Galway" .  ?e <population> ?pv .  }
Answer: 531200