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