Question: Of ceremonial English counties that comprise West Midlands (GSS code (2011) E12000005), which occupies the least area?
Choices:
East Riding of Yorkshire
Staffordshire
Hertfordshire
Norfolk
Northumberland
West Midlands
Somerset
Derbyshire
Cumbria
Warwickshire
Program:
function: Find
inputs: West Midlands
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E12000005
function: Relate
dependencies: 1
inputs: part of
backward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: SelectAmong
dependencies: 3
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "West Midlands" . ?e_1 <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E12000005" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: West Midlands