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