Question: Which has the smaller area, Falkirk, with a population of 160100, or Auckland City?
Choices:
Kent County
Delaware County
Auckland City
Orange County
Washoe County
Greene County
Cass County
San Juan County
Falkirk
Lee County
Answer: Falkirk
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Falkirk" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "160100"^^xsd:double . } UNION { ?e <pred:name> "Auckland City" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Falkirk
function: FilterNum
dependencies: 0
inputs: population
160100
=
function: Find
inputs: Auckland City
function: SelectBetween
dependencies: 1
2
inputs: area
less