Question: Among the ceremonial county of England located in West Midlands with 13004 square kilometre area, Which one has smaller size?
Choices:
Shropshire
Warwickshire
Norfolk
Cumbria
West Midlands
Somerset
Derbyshire
East Riding of Yorkshire
Essex
Northumberland
Answer: West Midlands
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <located_in_the_administrative_territorial_entity> ?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: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: SelectAmong
dependencies: 3
inputs: area
smallest