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