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