Question: Who color has the sRGB color hex triplet 00FF00 and the short name is of G (whose regular expression format is G[^r])?
Choices: burgundy
gray
gold
black-and-white
black
white
bay
brown
garnet
green
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "color" . ?e <sRGB_color_hex_triplet> ?pv . ?pv <pred:value> "00FF00" . ?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]" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: sRGB color hex triplet
00FF00
function: FilterConcept
dependencies: 1
inputs: color
function: FindAll
function: FilterStr
dependencies: 3
inputs: short name
G
function: QFilterStr
dependencies: 4
inputs: format as a regular expression
G[^r]
function: FilterConcept
dependencies: 5
inputs: color
function: And
dependencies: 2
6
function: What
dependencies: 7
Answer: green