Question: What city in the US is the capital of Whatcom County and has the local dialing code of 360?
Choices:
New Haven
Columbus
Waukegan
Compton
Franklin
Olympia
Vancouver
Mount Vernon
Bellingham
Oakland
Program:
function: Find
inputs: Whatcom County
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
360
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 <capital_of> ?e_1 . ?e_1 <pred:name> "Whatcom County" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> "360" .  }
Answer: Bellingham