Question: How many belief systems are distinct from agnostic philosophy or have a creation date other than 1812 BC?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "belief system" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != -1812 ) .  } UNION { ?e <different_from> ?e_1 . ?e_1 <pred:name> "agnosticism" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
-1812
!=
function: FilterConcept
dependencies: 1
inputs: belief system
function: Find
inputs: agnosticism
function: Relate
dependencies: 3
inputs: different from
backward
function: FilterConcept
dependencies: 4
inputs: belief system
function: Or
dependencies: 2
5
function: Count
dependencies: 6