Question: Which US city is the administrative division of the county of California that contains Monterey?
Choices:
San Rafael
Quincy
Waukegan
San Jose
Salinas
Franklin
Pontiac
Columbus
Santa Barbara
San Bernardino
Answer: Salinas
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of California" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Monterey" .   }
Program:
function: Find
inputs: Monterey
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: county of California
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 3
inputs: city of the United States
function: What
dependencies: 4