Question: Which one of the English ceremonial counties within West Midlands (covering 13,004 square km) cover the smallest area ?
Choices: Northumberland
Staffordshire
Somerset
Norfolk
Hertfordshire
Essex
Warwickshire
Cumbria
East Riding of Yorkshire
West Midlands
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 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "13004"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: West Midlands
function: FilterNum
dependencies: 0
inputs: area
13004 square kilometre
=
function: Relate
dependencies: 1
inputs: part of
backward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: SelectAmong
dependencies: 3
inputs: area
smallest
Answer: West Midlands