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