Question: Which area is smaller, Durham (the one whose area is 72.08 square mile) or Saginaw?
Choices:
Kingston
Bergen
Abidjan
Saginaw
Durham
Cork
Chihuahua
Trieste
Dundee
Santo Domingo
Answer: Saginaw
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Durham" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square mile" . ?pv_1 <pred:value> "72.08"^^xsd:double . } UNION { ?e <pred:name> "Saginaw" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Durham
function: FilterNum
dependencies: 0
inputs: area
72.08 square mile
=
function: Find
inputs: Saginaw
function: SelectBetween
dependencies: 1
2
inputs: area
less