Question: What is the number of belief systems that are part of United Church of Christ or that have OSM tag or key Tag:denomination=baptist.
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "belief system" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> "United Church of Christ" .  } UNION { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:denomination=baptist" .  } }
Program:
function: Find
inputs: United Church of Christ
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: belief system
function: FindAll
function: FilterStr
dependencies: 3
inputs: OSM tag or key
Tag:denomination=baptist
function: FilterConcept
dependencies: 4
inputs: belief system
function: Or
dependencies: 2
5
function: Count
dependencies: 6