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