Question: The US city corresponding to WOEID 2479714 is located in which California county?
Choices:
San Mateo County
Santa Clara County
Kern County
Contra Costa County
San Luis Obispo County
Shasta County
Alameda County
Tulare County
Santa Cruz County
Merced County
Answer: San Mateo County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of California" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <WOEID> ?pv . ?pv <pred:value> "2479714" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
2479714
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 3
inputs: county of California
function: What
dependencies: 4