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