Question: How many belief systems are the religion of Martin Sheen or have the OSM tag or key Tag:denomination=greek_orthodox?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "belief system" .  { ?e_1 <religion> ?e . ?e_1 <pred:name> "Martin Sheen" .  } UNION { ?e <OSM_tag_or_key> ?pv . ?pv <pred:value> "Tag:denomination=greek_orthodox" .  } }
Program:
function: Find
inputs: Martin Sheen
function: Relate
dependencies: 0
inputs: religion
forward
function: FilterConcept
dependencies: 1
inputs: belief system
function: FindAll
function: FilterStr
dependencies: 3
inputs: OSM tag or key
Tag:denomination=greek_orthodox
function: FilterConcept
dependencies: 4
inputs: belief system
function: Or
dependencies: 2
5
function: Count
dependencies: 6