Question: How many metropolitan boroughs whose ISO 3166-2 code is GB-BRD also have an established date before 1974?
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> "metropolitan borough" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "GB-BRD" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 1974 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-BRD
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1974
<
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: And
dependencies: 2
5
function: Count
dependencies: 6