Question: Which metropolitan area that is located in California (that is the filming location of Zoolander) has the largest population?
Choices:
Chicago metropolitan area
Portland metropolitan area
Washington metropolitan area
San Francisco Bay Area
Greater Los Angeles Area
New York metropolitan area
New Orleans metropolitan area
Greater Houston
Greater St. Louis
Seattle metropolitan area
Answer: Greater Los Angeles Area
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan area" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "California" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "Zoolander" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Zoolander
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: metropolitan area
function: SelectAmong
dependencies: 5
inputs: population
largest