Question: What number of colleges of the University of Oxford,  part of the public university has St John's College that is a part of University of Oxford?
Choices: 20
21
22
23
24
25
26
27
28
29
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> "public university" . ?e_2 <part_of> ?e_1 . ?e_2 <pred:name> "St John's College" . ?e_2 <part_of> ?e_3 . ?e_3 <pred:name> "University of Oxford" .   }
Program:
function: Find
inputs: University of Oxford
function: Relate
dependencies: 0
inputs: part of
backward
function: Find
inputs: St John's College
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of
forward
function: FilterConcept
dependencies: 4
inputs: public university
function: Relate
dependencies: 5
inputs: has part
forward
function: FilterConcept
dependencies: 6
inputs: college of the University of Oxford
function: Count
dependencies: 7
Answer: 25