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