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