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