Question: Local phone code 301 is assigned to how many US cities?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <local_dialing_code> ?pv . ?pv <pred:value> "301" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
301
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Count
dependencies: 2