General SPARQL query for trimming string literals. Intended as a configuration for UnifiedViews SPARQL Transformer DPU.