Question: How many colors correspond to sRGB color hex triplet 858585 or officially symbolize Bangladesh, which has diplomatic ties to Turkmenistan?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "color" .  { ?e <sRGB_color_hex_triplet> ?pv . ?pv <pred:value> "858585" .  } UNION { ?e_1 <official_symbol> ?e . ?e_1 <pred:name> "Bangladesh" . ?e_1 <diplomatic_relation> ?e_2 . ?e_2 <pred:name> "Turkmenistan" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: sRGB color hex triplet
858585
function: FilterConcept
dependencies: 1
inputs: color
function: Find
inputs: Turkmenistan
function: Relate
dependencies: 3
inputs: diplomatic relation
backward
function: Find
inputs: Bangladesh
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: official symbol
forward
function: FilterConcept
dependencies: 7
inputs: color
function: Or
dependencies: 2
8
function: Count
dependencies: 9