Question: What Ireland county's capital city has the Irish Grid Reference S506563?
Choices:
County Wexford
County Waterford
County Kilkenny
County Galway
County Limerick
County Tipperary
County Dublin
County Monaghan
County Sligo
County Kildare
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Irish Grid Reference
S506563
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: capital
backward
function: FilterConcept
dependencies: 3
inputs: county of Ireland
function: What
dependencies: 4
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 <Irish_Grid_Reference> ?pv . ?pv <pred:value> "S506563" .   }
Answer: County Kilkenny