Question: How many liberal-arts colleges have an inception time before 1874 or are registered with the Internal Revenue Service?
Choices:
13
14
15
16
17
18
19
20
21
22
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1874 ) .  } UNION { ?e <registered_with> ?e_1 . ?e_1 <pred:name> "Internal Revenue Service" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1874
<
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: Find
inputs: Internal Revenue Service
function: Relate
dependencies: 3
inputs: registered with
backward
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: Or
dependencies: 2
5
function: Count
dependencies: 6