Question: How many colleges were founded after or before 1831 or reside at  2 E South St, Galesburg, IL, 61401-9999?
Choices: 36
37
38
39
40
41
42
43
44
45
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1831 ) .  } UNION { ?e <located_at_street_address> ?pv . ?pv <pred:value> "2 E South St, Galesburg, IL, 61401-9999" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1831
!=
function: FilterConcept
dependencies: 1
inputs: college
function: FindAll
function: FilterStr
dependencies: 3
inputs: located at street address
2 E South St, Galesburg, IL, 61401-9999
function: FilterConcept
dependencies: 4
inputs: college
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 40