Question: Which metropolitan region that is situated in California (that is the filming location of The Matrix Revolutions) has the smallest population?
Choices: Portland metropolitan area
Washington metropolitan area
Greater St. Louis
Greater Houston
New Orleans metropolitan area
San Francisco Bay Area
Chicago metropolitan area
Seattle metropolitan area
Greater Los Angeles Area
New York metropolitan 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> "The Matrix Revolutions" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Matrix Revolutions
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
smallest
Answer: San Francisco Bay Area