Question: Tell me the metropolitan borough that has the capital the town that is where Siobhan Finneran was born.
Choices:
Rochdale
Oldham
Leeds
Stockport
Rotherham
Walsall
Newcastle upon Tyne
Bury
Birmingham
Solihull
Program:
function: Find
inputs: Siobhan Finneran
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: town
function: Relate
dependencies: 2
inputs: capital of
forward
function: FilterConcept
dependencies: 3
inputs: metropolitan borough
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "town" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Siobhan Finneran" .   }
Answer: Oldham