Question: Which area is larger, Himalayas or Cascade Range?
Choices:
Pennine Alps
Alps
Hunan
Adirondack Mountains
Himalayas
Sierra Nevada
Appalachian Mountains
Blue Ridge Mountains
Pyrenees
Cascade Range
Program:
function: Find
inputs: Himalayas
function: Find
inputs: Cascade Range
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Himalayas" .  } UNION { ?e <pred:name> "Cascade Range" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Himalayas