Question: What's the regular expression's format for the color of Alliance '90/The Greens (short-named G)?
Choices:
10928
swa
G[^r]
Prince
Y
W
1974
Egypt–Jordan relations
35 day
\\p{IsCyrillic}
Answer: G[^r]
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "color" . ?e_1 <color> ?e . ?e_1 <pred:name> "Alliance '90/The Greens" .  ?e <short_name> ?pv . ?pv <pred:value> "G" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <format_as_a_regular_expression> ?qpv .  }
Program:
function: Find
inputs: Alliance '90/The Greens
function: Relate
dependencies: 0
inputs: color
forward
function: FilterConcept
dependencies: 1
inputs: color
function: QueryAttrQualifier
dependencies: 2
inputs: short name
G
format as a regular expression