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