Question: How many colors have the Iconclass notation 22C4(BLUE) or are the opposite of brown?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "color" .  { ?e <Iconclass_notation> ?pv . ?pv <pred:value> "22C4(BLUE)" .  } UNION { ?e <opposite_of> ?e_1 . ?e_1 <pred:name> "brown" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Iconclass notation
22C4(BLUE)
function: FilterConcept
dependencies: 1
inputs: color
function: Find
inputs: brown
function: Relate
dependencies: 3
inputs: opposite of
backward
function: FilterConcept
dependencies: 4
inputs: color
function: Or
dependencies: 2
5
function: Count
dependencies: 6