Question: How many metropolitan boroughs are an administrative division of West Midlands (the one whose inception time is 1974-04-01) or are different from Manchester (the one that is the formation location of The Chemical Brothers)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: West Midlands
function: FilterDate
dependencies: 0
inputs: inception
1974-04-01
=
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: metropolitan borough
function: Find
inputs: The Chemical Brothers
function: Relate
dependencies: 4
inputs: location of formation
forward
function: Find
inputs: Manchester
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: different from
backward
function: FilterConcept
dependencies: 8
inputs: metropolitan borough
function: Or
dependencies: 3
9
function: Count
dependencies: 10
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:name> "West Midlands" . ?e_1 <inception> ?pv . ?pv <pred:date> "1974-04-01"^^xsd:date .  } UNION { ?e <different_from> ?e_1 . ?e_1 <pred:name> "Manchester" . ?e_2 <location_of_formation> ?e_1 . ?e_2 <pred:name> "The Chemical Brothers" .  } }
Answer: 4