Question: Which website is affiliated with the town whose OS grid reference is NZ2460?
Choices:
https://www.ontario.ca
http://www.bloomfieldhillsmi.net/
http://www.teamamerica.com
http://www.arlingtontx.gov/
https://www.exetercityfc.co.uk/
http://www.ua.edu/
https://www.sporting.be/
http://johnhurt.co.uk
http://www.madrid.es/
http://www.gateshead.gov.uk
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OS grid reference
NZ2460
function: FilterConcept
dependencies: 1
inputs: town
function: QueryAttr
dependencies: 2
inputs: official website
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "NZ2460" . ?e <official_website> ?pv .  }
Answer: http://www.gateshead.gov.uk