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