Question: Which area is smaller, Rapid City or Pontiac?
Choices:
Boulder
Lansing
Compton
Columbus
Waukegan
Pontiac
Oakland
Franklin
New Haven
Greenville
Program:
function: Find
inputs: Rapid City
function: Find
inputs: Pontiac
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rapid City" .  } UNION { ?e <pred:name> "Pontiac" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pontiac