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