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