Question: What is the OS grid reference for the city that contains the University of Lancaster?
Choices:
NT275735
TG5207
SJ705557
TQ245765
SE245225
NS485635
TQ510887
TQ315844
SD475615
SP0198
Answer: SD475615
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "University of Lancaster" .  ?e <OS_grid_reference> ?pv .  }
Program:
function: Find
inputs: University of Lancaster
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: OS grid reference