Question: Which area is larger, Natchez or Carmel-by-the-Sea?
Choices:
Carmel-by-the-Sea
Natchez
Lansing
Columbus
Boulder
New Haven
Compton
Greenville
Franklin
Oakland
Program:
function: Find
inputs: Natchez
function: Find
inputs: Carmel-by-the-Sea
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Natchez" .  } UNION { ?e <pred:name> "Carmel-by-the-Sea" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Natchez