Question: What is the number of Protestantism that has the OSM tag:denomination=pentecostal or key is or that is Sven Nykvist's religion?
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> "Protestantism" .  { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:denomination=pentecostal" .  } UNION { ?e_1 <religion> ?e . ?e_1 <pred:name> "Sven Nykvist" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OSM tag or key
Tag:denomination=pentecostal
function: FilterConcept
dependencies: 1
inputs: Protestantism
function: Find
inputs: Sven Nykvist
function: Relate
dependencies: 3
inputs: religion
forward
function: FilterConcept
dependencies: 4
inputs: Protestantism
function: Or
dependencies: 2
5
function: Count
dependencies: 6