Question: How many religious denominations are there whose OSM tag or key is Tag:denomination=orthodox or whose religion is the one of Earlham College?
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> "religious denomination" .  { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:denomination=orthodox" .  } UNION { ?e_1 <religion> ?e . ?e_1 <pred:name> "Earlham College" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OSM tag or key
Tag:denomination=orthodox
function: FilterConcept
dependencies: 1
inputs: religious denomination
function: Find
inputs: Earlham College
function: Relate
dependencies: 3
inputs: religion
forward
function: FilterConcept
dependencies: 4
inputs: religious denomination
function: Or
dependencies: 2
5
function: Count
dependencies: 6