A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/RDFLib/rdflib/issues/2473 below:

Separator in group_concat function with explicit empty string incorrectly defaults to 'space' character · Issue #2473 · RDFLib/rdflib · GitHub

Using the group_concat function with the separator indicating an empty string ("") leads incorrectly to the default use of a space character as separator (" ").

Example code:

PREFIX : <http://example.org/>

SELECT ?subject (GROUP_CONCAT(?object; separator="") AS ?concatenatedObjects)
WHERE {
  VALUES (?subject ?object) {
    (:subject1 "a")
    (:subject1 "b")
    (:subject1 "c")
  }
}
GROUP BY ?subject

Expected outcome for concatenatedObjects:

abc

Instead we get:

a b c


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4