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