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