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