Question: Does the New York metro area or Greater Houston boast the larger populace?
Choices:
New York metropolitan area
Greater Houston
Portland metropolitan area
Greater St. Louis
Greater Los Angeles Area
Seattle metropolitan area
Miami metropolitan area
Pittsburgh metropolitan area
Chicago metropolitan area
Washington metropolitan area
Program:
function: Find
inputs: New York metropolitan area
function: Find
inputs: Greater Houston
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New York metropolitan area" .  } UNION { ?e <pred:name> "Greater Houston" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: New York metropolitan area