Question: How many private universities have over 1400 students or a founding year earlier than 1859?
Choices:
17
18
19
20
21
22
23
24
25
26
Answer: 25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private university" .  { ?e <students_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "1400"^^xsd:double ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1859 ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: students count
1400
>
function: FilterConcept
dependencies: 1
inputs: private university
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1859
<
function: FilterConcept
dependencies: 4
inputs: private university
function: Or
dependencies: 2
5
function: Count
dependencies: 6