Question: Which area is smaller, Orange (the one whose area is 5.7 square kilometre) or Darjeeling?
Choices: Whanganui
Red Bank
Ridgewood
Darjeeling
Montclair
Belleville
Livingston
North Hollywood
Orange
Princeton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Orange" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "5.7"^^xsd:double . } UNION { ?e <pred:name> "Darjeeling" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Orange
function: FilterNum
dependencies: 0
inputs: area
5.7 square kilometre
=
function: Find
inputs: Darjeeling
function: SelectBetween
dependencies: 1
2
inputs: area
less
Answer: Orange