Question: Is the larger area occupied by Africa, the continent containing South Sudan, or Florida Keys?
Choices:
Florida Keys
Atlantic Canada
Caribbean
Pacific Ocean
Lake District
Antarctica
Africa
Southern California
Piedmont
Transylvania
Program:
function: Find
inputs: South Sudan
function: Relate
dependencies: 0
inputs: continent
forward
function: Find
inputs: Africa
function: And
dependencies: 1
2
function: Find
inputs: Florida Keys
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Africa" . ?e_1 <continent> ?e . ?e_1 <pred:name> "South Sudan" .   } UNION { ?e <pred:name> "Florida Keys" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Africa