Question: Which town has an OS grid reference of NS712557?
Choices:
Edmonton
Dumfries
Grimsby
Blackpool
Burton upon Trent
Hamilton
Charlestown
Royal Tunbridge Wells
Hartlepool
Wigan
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OS grid reference
NS712557
function: FilterConcept
dependencies: 1
inputs: town
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <OS_grid_reference> ?pv . ?pv <pred:value> "NS712557" .  }
Answer: Hamilton