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