Question: Which area is larger, Mount Vernon (the one that is the birthplace of Denzel Washington) or Brisbane (the one whose elevation (above sea level) is 108 foot)?
Choices: Waukegan
New Haven
Oakland
Compton
Mount Vernon
Lansing
Columbus
Franklin
Greenville
Brisbane
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mount Vernon" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Denzel Washington" . } UNION { ?e <pred:name> "Brisbane" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "foot" . ?pv_1 <pred:value> "108"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Denzel Washington
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Mount Vernon
function: And
dependencies: 1
2
function: Find
inputs: Brisbane
function: FilterNum
dependencies: 4
inputs: elevation above sea level
108 foot
=
function: SelectBetween
dependencies: 3
5
inputs: area
greater
Answer: Brisbane