Question: What is the metropolitan area located in Maryland whose local dialing code is 667?
Choices:
Anne Arundel County
Pittsburgh metropolitan area
Montgomery County
Greater Los Angeles Area
Baltimore metropolitan area
Greater St. Louis
Louisville metropolitan area
Harford County
Portland metropolitan area
Cecil County
Answer: Baltimore metropolitan area
SPARQL: SELECT DISTINCT ?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> "Maryland" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "667" .   }
Program:
function: Find
inputs: Maryland
function: FilterStr
dependencies: 0
inputs: local dialing code
667
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: metropolitan area
function: What
dependencies: 3