Question: Which has a smaller area, Middlesex County, population 165676, or Aachen, with a NUTS code of DEA25?
Choices:
Middlesex County
African Union
Cass County
Aachen
Delaware County
Washoe County
Greene County
San Juan County
Orange County
Kent County
Answer: Aachen
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Middlesex County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "165676"^^xsd:double . } UNION { ?e <pred:name> "Aachen" . ?e <NUTS_code> ?pv_2 . ?pv_2 <pred:value> "DEA25" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Middlesex County
function: FilterNum
dependencies: 0
inputs: population
165676
=
function: Find
inputs: Aachen
function: FilterStr
dependencies: 2
inputs: NUTS code
DEA25
function: SelectBetween
dependencies: 1
3
inputs: area
less