Question: Which metropolitan borough in South Yorkshire has the smallest land area?
Choices:
Leeds
Bury
Stockport
Wakefield
Solihull
Walsall
Newcastle upon Tyne
Rochdale
Birmingham
Rotherham
Program:
function: Find
inputs: South Yorkshire
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "South Yorkshire" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rotherham