Question: What is the number of human settlements that are the place where F Scott Fitzgerald lived and that has a local dialing code of 609?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" . ?e_1 <residence> ?e . ?e_1 <pred:name> "F. Scott Fitzgerald" .  ?e <local_dialing_code> ?pv . ?pv <pred:value> "609" .  }
Program:
function: Find
inputs: F. Scott Fitzgerald
function: Relate
dependencies: 0
inputs: residence
forward
function: FilterConcept
dependencies: 1
inputs: human settlement
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
609
function: FilterConcept
dependencies: 4
inputs: human settlement
function: And
dependencies: 2
5
function: Count
dependencies: 6