Question: Which metropolitan area contains San Francisco (the one that is the filming location of Bicentennial Man)?
Choices:
New York metropolitan area
Baltimore metropolitan area
Greater Houston
Metro Detroit
Washington metropolitan area
Greater St. Louis
Pittsburgh metropolitan area
New Orleans metropolitan area
San Francisco Bay Area
Greater Los Angeles Area
Program:
function: Find
inputs: Bicentennial Man
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: San Francisco
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: metropolitan area
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan area" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "San Francisco" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "Bicentennial Man" .   }
Answer: San Francisco Bay Area