Question: What is the number of colleges of the University of Cambridge that are unlike the college of the University of Cambridge that is dissimilar to Trinity College (that has 380 students)?
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> "college of the University of Cambridge" . ?e_1 <different_from> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "college of the University of Cambridge" . ?e_1 <different_from> ?e_2 . ?e_2 <pred:name> "Trinity College" . ?e_2 <students_count> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "380"^^xsd:double .   }
Program:
function: Find
inputs: Trinity College
function: FilterNum
dependencies: 0
inputs: students count
380
=
function: Relate
dependencies: 1
inputs: different from
backward
function: FilterConcept
dependencies: 2
inputs: college of the University of Cambridge
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: college of the University of Cambridge
function: Count
dependencies: 5
Answer: 1