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