Question: Is the Pacific Ocean or Europe bigger, in terms of area?
Choices:
Piedmont
Southern California
Europe
Africa
Transylvania
Pacific Ocean
Atlantic Canada
South America
Caribbean
Antarctica
Program:
function: Find
inputs: Pacific Ocean
function: Find
inputs: Europe
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pacific Ocean" .  } UNION { ?e <pred:name> "Europe" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pacific Ocean