Question: Which area is smaller, Orkney Islands or Florida Keys?
Choices:
Transylvania
Southern California
Africa
Piedmont
Florida Keys
Atlantic Canada
Lake District
Pacific Ocean
South America
Orkney Islands
Program:
function: Find
inputs: Orkney Islands
function: Find
inputs: Florida Keys
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Orkney Islands" .  } UNION { ?e <pred:name> "Florida Keys" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Florida Keys