Question: What ceremonial county of England includes the capital of Warwich which has the OS grid reference of SP2865?
Choices:
Essex
Suffolk
Northumberland
West Midlands
Warwickshire
Lincolnshire
Staffordshire
West Yorkshire
Derbyshire
Somerset
Answer: Warwickshire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Warwick" . ?e_1 <OS_grid_reference> ?pv . ?pv <pred:value> "SP2865" .   }
Program:
function: Find
inputs: Warwick
function: FilterStr
dependencies: 0
inputs: OS grid reference
SP2865
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: What
dependencies: 3