Question: For England's ceremonial county that has the capital of Birmingham (the earliest written record is 1166), how many metropolitan boroughs are its administrative division?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Birmingham
function: FilterYear
dependencies: 0
inputs: time of earliest written record
1166
=
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "ceremonial county of England" . ?e_2 <capital_of> ?e_1 . ?e_2 <pred:name> "Birmingham" . ?e_2 <time_of_earliest_written_record> ?pv_1 . ?pv_1 <pred:year> 1166 .   }
Answer: 3