Question: Which has a lesser area, Danville (whose area is 44.121019 square kilometres) or Muncie?
Choices:
Boulder
Lansing
Danville
Compton
Oakland
Greenville
Muncie
Franklin
Columbus
Waukegan
Answer: Danville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Danville" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "44.121019"^^xsd:double . } UNION { ?e <pred:name> "Muncie" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Danville
function: FilterNum
dependencies: 0
inputs: area
44.121019 square kilometre
=
function: Find
inputs: Muncie
function: SelectBetween
dependencies: 1
2
inputs: area
less