Question: Which Irish county with FIPS 10-4 (countries and regions) code EI27 borders County Tipperary?
Choices:
County Waterford
County Tipperary
County Limerick
County Cork
County Galway
County Monaghan
County Dublin
County Clare
County Kildare
County Sligo
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
EI27
function: FilterConcept
dependencies: 1
inputs: county of Ireland
function: Find
inputs: County Tipperary
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: county of Ireland
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" . ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "EI27" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "County Tipperary" .  }
Answer: County Waterford