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