Question: Which area is smaller, Huntington (the one whose elevation (above sea level) is 41 metre) or Greenwich (the one that is the birthplace of Tom Noonan)?
Choices: Huntington
Chapel Hill
Brookline
Litchfield
Kensington
Westport
West Hartford
Greenwich
Bedford
Amherst
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Huntington" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "41"^^xsd:double . } UNION { ?e <pred:name> "Greenwich" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Tom Noonan" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Huntington
function: FilterNum
dependencies: 0
inputs: elevation above sea level
41 metre
=
function: Find
inputs: Tom Noonan
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Greenwich
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
Answer: Greenwich