Question: How many independent cities are a part of the Washington metropolitan area or have the local dialing code 775?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Washington metropolitan area
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: independent city
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
775
function: FilterConcept
dependencies: 4
inputs: independent city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" .  { ?e_1 <has_part> ?e . ?e_1 <pred:name> "Washington metropolitan area" .  } UNION { ?e <local_dialing_code> ?pv . ?pv <pred:value> "775" .  } }
Answer: 5