Question: What county in Ireland has the capital city that is the twin administrative body to Rochester (whose elevation is 154 meters above sea level)?
Choices:
County Dublin
County Kilkenny
County Monaghan
County Limerick
County Kildare
County Galway
County Tipperary
County Meath
County Waterford
County Sligo
Answer: County Waterford
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Rochester" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "154"^^xsd:double .   }
Program:
function: Find
inputs: Rochester
function: FilterNum
dependencies: 0
inputs: elevation above sea level
154 metre
=
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: county of Ireland
function: What
dependencies: 5