Question: Which one has the smaller sized metro area, Chicago or Seattle?
Choices:
Miami metropolitan area
Seattle metropolitan area
Pittsburgh metropolitan area
Washington metropolitan area
New Orleans metropolitan area
Portland metropolitan area
New York metropolitan area
Greater St. Louis
Chicago metropolitan area
Greater Los Angeles Area
Program:
function: Find
inputs: Chicago metropolitan area
function: Find
inputs: Seattle metropolitan area
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chicago metropolitan area" .  } UNION { ?e <pred:name> "Seattle metropolitan area" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Seattle metropolitan area