Question: Which one has more area between Billings and Juneau?
Choices:
Boulder
New Haven
Greenville
Franklin
Juneau
Lansing
Compton
Columbus
Billings
Waukegan
Program:
function: Find
inputs: Billings
function: Find
inputs: Juneau
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Billings" .  } UNION { ?e <pred:name> "Juneau" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Juneau