Question: Which US city has the local dialing code of 607?
Choices:
Laguna Beach
Kalamazoo
Elmira
Binghamton
Niagara Falls
Ithaca
Portland
Waterloo
Juneau
Frankfort
Answer: Niagara Falls
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <local_dialing_code> ?pv . ?pv <pred:value> "607" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
607
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6