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