Question: How many cemeteries have Catholic affiliation or correspond to postal code SW10 9UG?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Catholic Church
function: Relate
dependencies: 0
inputs: religion
backward
function: FilterConcept
dependencies: 1
inputs: cemetery
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
SW10 9UG
function: FilterConcept
dependencies: 4
inputs: cemetery
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "cemetery" .  { ?e <religion> ?e_1 . ?e_1 <pred:name> "Catholic Church" .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "SW10 9UG" .  } }
Answer: 2