Question: Which area is smaller, Plymouth County (the one whose population is 24912) or London Borough of Enfield?
Choices:
London Borough of Enfield
Orange County
Lee County
Delaware County
Greene County
Plymouth County
African Union
Kent County
San Juan County
Washoe County
Program:
function: Find
inputs: Plymouth County
function: FilterNum
dependencies: 0
inputs: population
24912
=
function: Find
inputs: London Borough of Enfield
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Plymouth County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "24912"^^xsd:double . } UNION { ?e <pred:name> "London Borough of Enfield" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: London Borough of Enfield