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