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