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