Question: What is the sRGB color hex triplet for a color whose short name is G (the format as a regular expression of this statement is G[^r]) ?
Choices:
858585
081E3F
FDBB30
D46A4C
FFC904
D50000
B6862C
DC241F
00FF00
CFC493
Answer: 00FF00
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "color" . ?e <short_name> ?pv_1 . ?pv_1 <pred:value> "G" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv_1 ] <format_as_a_regular_expression> ?qpv . ?qpv <pred:value> "G[^r]" . ?e <sRGB_color_hex_triplet> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
G
function: QFilterStr
dependencies: 1
inputs: format as a regular expression
G[^r]
function: FilterConcept
dependencies: 2
inputs: color
function: QueryAttr
dependencies: 3
inputs: sRGB color hex triplet