Question: How many independent cities have a local dialing code of 540?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e <local_dialing_code> ?pv . ?pv <pred:value> "540" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
540
function: FilterConcept
dependencies: 1
inputs: independent city
function: Count
dependencies: 2