Question: How many belief systems are there whose headquarters location is Cleveland or beginning date is not in 1957?
Choices:
7
8
9
10
11
12
13
14
15
16
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "belief system" .  { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Cleveland" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1957 ) .  } }
Program:
function: Find
inputs: Cleveland
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: belief system
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1957
!=
function: FilterConcept
dependencies: 4
inputs: belief system
function: Or
dependencies: 2
5
function: Count
dependencies: 6