Question: Tell me the number of metropolitan boroughs that have University of Manchester or that have GSS code (2011) is E08000029
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" .  { ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "University of Manchester" .  } UNION { ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> "E08000029" .  } }
Program:
function: Find
inputs: University of Manchester
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: FindAll
function: FilterStr
dependencies: 3
inputs: GSS code (2011)
E08000029
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: Or
dependencies: 2
5
function: Count
dependencies: 6