Question: How many colors are Denise Richards' hair color or have the sRGB color hex triplet C41E3A?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
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> "Denise Richards" .  } UNION { ?e <sRGB_color_hex_triplet> ?pv . ?pv <pred:value> "C41E3A" .  } }
Program:
function: Find
inputs: Denise Richards
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
C41E3A
function: FilterConcept
dependencies: 4
inputs: color
function: Or
dependencies: 2
5
function: Count
dependencies: 6