Question: How many liberal arts colleges there are that employe Neil Gaiman or with less than 5200 students?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" .  { ?e_1 <employer> ?e . ?e_1 <pred:name> "Neil Gaiman" .  } UNION { ?e <students_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "5200"^^xsd:double ) .  } }
Program:
function: Find
inputs: Neil Gaiman
function: Relate
dependencies: 0
inputs: employer
forward
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: FindAll
function: FilterNum
dependencies: 3
inputs: students count
5200
<
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: Or
dependencies: 2
5
function: Count
dependencies: 6