Question: Which is longer,  Andes or Rocky Mountains?
Choices:
South America
Africa
Piedmont
Rocky Mountains
Pacific Ocean
Lake District
Southern California
Andes
Atlantic Canada
Transylvania
Program:
function: Find
inputs: Andes
function: Find
inputs: Rocky Mountains
function: SelectBetween
dependencies: 0
1
inputs: length
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Andes" .  } UNION { ?e <pred:name> "Rocky Mountains" .  } ?e <length> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Andes