Question: How many religious denominations are either a part of The Church of Jesus Christ of Latter day Saints or a not a part of the Eastern Orthodox Church?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "religious denomination" .  { ?e <part_of> ?e_1 . ?e_1 <pred:name> "The Church of Jesus Christ of Latter-day Saints" .  } UNION { ?e_1 <does_not_have_part> ?e . ?e_1 <pred:name> "Eastern Orthodox Church" .  } }
Program:
function: Find
inputs: The Church of Jesus Christ of Latter-day Saints
function: Relate
dependencies: 0
inputs: part of
backward
function: FilterConcept
dependencies: 1
inputs: religious denomination
function: Find
inputs: Eastern Orthodox Church
function: Relate
dependencies: 3
inputs: does not have part
forward
function: FilterConcept
dependencies: 4
inputs: religious denomination
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2