Question: How many colors were either the the hair color of Madonna or were the sRGB color hex triplet of B30033?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Madonna
function: Relate
dependencies: 0
inputs: hair color
forward
function: FilterConcept
dependencies: 1
inputs: color
function: FindAll
function: FilterStr
dependencies: 3
inputs: sRGB color hex triplet
B30033
function: FilterConcept
dependencies: 4
inputs: color
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "color" .  { ?e_1 <hair_color> ?e . ?e_1 <pred:name> "Madonna" .  } UNION { ?e <sRGB_color_hex_triplet> ?pv . ?pv <pred:value> "B30033" .  } }
Answer: 2