Question: Does the Greater Houston area or San Francisco Bay Area have a greater population?
Choices:
Portland metropolitan area
Seattle metropolitan area
New Orleans metropolitan area
Greater Houston
New York metropolitan area
Washington metropolitan area
Greater St. Louis
Chicago metropolitan area
San Francisco Bay Area
Pittsburgh metropolitan area
Program:
function: Find
inputs: Greater Houston
function: Find
inputs: San Francisco Bay Area
function: SelectBetween
dependencies: 0
1
inputs: population
greater
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 DESC(?v) LIMIT 1
Answer: San Francisco Bay Area