Question: How many universities are there whose color is blue (the one whose Iconclass notation is 22C4(BLUE))?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <color> ?e_1 . ?e_1 <pred:name> "blue" . ?e_1 <Iconclass_notation> ?pv . ?pv <pred:value> "22C4(BLUE)" .   }
Program:
function: Find
inputs: blue
function: FilterStr
dependencies: 0
inputs: Iconclass notation
22C4(BLUE)
function: Relate
dependencies: 1
inputs: color
backward
function: FilterConcept
dependencies: 2
inputs: university
function: Count
dependencies: 3