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