Question: Which city of the United States is located in Cache County and its dialing code is 435?
Choices:
Franklin
Boulder
Greenville
Waukegan
Compton
New Britain
Logan
New Haven
Columbus
Oakland
Program:
function: Find
inputs: Cache County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
435
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Cache County" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> "435" .  }
Answer: Logan