Question: How many public universities have Balliol College as a part or whose student number is more than 2700?
Choices: 42
43
44
45
46
47
48
49
50
51
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public university" .  { ?e_1 <part_of> ?e . ?e_1 <pred:name> "Balliol College" .  } UNION { ?e <students_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "2700"^^xsd:double ) .  } }
Program:
function: Find
inputs: Balliol College
function: Relate
dependencies: 0
inputs: part of
forward
function: FilterConcept
dependencies: 1
inputs: public university
function: FindAll
function: FilterNum
dependencies: 3
inputs: students count
2700
>
function: FilterConcept
dependencies: 4
inputs: public university
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 43