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