Question: what is the number of liberal arts colleges that is part of Morehouse College or that has more than 19800 reservist employees
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "liberal arts college" .  { ?e_1 <has_part> ?e . ?e_1 <pred:name> "Morehouse College" .  } UNION { ?e <employees> ?pv . ?pv <pred:unit> "reservist" . ?pv <pred:value> ?v . FILTER ( ?v > "19800"^^xsd:double ) .  } }
Program:
function: Find
inputs: Morehouse College
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: FindAll
function: FilterNum
dependencies: 3
inputs: employees
19800 reservist
>
function: FilterConcept
dependencies: 4
inputs: liberal arts college
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3