Question: Which area is smaller, Kansas City (the one whose elevation (above sea level) is 265 metre) or Owensboro?
Choices:
Lansing
Compton
Boulder
Franklin
Columbus
Kansas City
Greenville
Oakland
Waukegan
Owensboro
Answer: Owensboro
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kansas City" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "265"^^xsd:double . } UNION { ?e <pred:name> "Owensboro" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kansas City
function: FilterNum
dependencies: 0
inputs: elevation above sea level
265 metre
=
function: Find
inputs: Owensboro
function: SelectBetween
dependencies: 1
2
inputs: area
less