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