Question: How many University of Oxford colleges are part of the university that includes Keble College?
Choices:
22
23
24
25
26
27
28
29
30
31
Answer: 25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college of the University of Oxford" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "university" . ?e_1 <has_part> ?e_2 . ?e_2 <pred:name> "Keble College" .   }
Program:
function: Find
inputs: Keble College
function: Relate
dependencies: 0
inputs: has part
backward
function: FilterConcept
dependencies: 1
inputs: university
function: Relate
dependencies: 2
inputs: has part
forward
function: FilterConcept
dependencies: 3
inputs: college of the University of Oxford
function: Count
dependencies: 4