Question: How many United States public educational institutions have less than 31000 students number or were founded by Charles B. Rangel?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public educational institution of the United States" .  { ?e <students_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "31000"^^xsd:double ) .  } UNION { ?e <founded_by> ?e_1 . ?e_1 <pred:name> "Charles B. Rangel" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: students count
31000
<
function: FilterConcept
dependencies: 1
inputs: public educational institution of the United States
function: Find
inputs: Charles B. Rangel
function: Relate
dependencies: 3
inputs: founded by
backward
function: FilterConcept
dependencies: 4
inputs: public educational institution of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6