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