Question: tell me the one with the bigger area, Scottsdale or Davenport.
Choices:
Boulder
New Haven
Davenport
Columbus
Lansing
Compton
Waukegan
Scottsdale
Greenville
Franklin
Program:
function: Find
inputs: Davenport
function: Find
inputs: Scottsdale
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Davenport" .  } UNION { ?e <pred:name> "Scottsdale" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Scottsdale