Question: How many Netherlands provinces have an ISO 3166-2 code of NL-GE and have the capital Brunswick (whose local dialing code is 05309)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of the Netherlands" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "NL-GE" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Brunswick" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "05309" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
NL-GE
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: Find
inputs: Brunswick
function: FilterStr
dependencies: 3
inputs: local dialing code
05309
function: Relate
dependencies: 4
inputs: capital of
forward
function: FilterConcept
dependencies: 5
inputs: province of the Netherlands
function: And
dependencies: 2
6
function: Count
dependencies: 7