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