Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1856

Unexpected results with GROUP_BY and GROUP_CONCAT

    XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major
    • Resolution: Information Provided
    • Affects Version/s: Jena 3.14.0
    • Fix Version/s: None
    • Component/s: Jena
    • Labels:
      None

      Description

      Attached is:

      • some example data
      • a query that works as I expected, without GROUP BY
      • the same query with GROUP BY and GROUP_CONCAT added, which doesn't work as I expected

      Am I doing something wrong, or is this a bug?

      Using the query without GROUP BY, I get these results as expected:

       

       

      Using the query with GROUP BY and GROUP_CONCAT, I expected to get:

       

      But instead I get:

      thing decimal__Concat boolean__Concat
      <http://example.org/data/a>   <http://example.org/data/a/values/2>
      <http://example.org/data/b>    

       

      Should I be doing something different to get the results I expected? 

       

       

        Attachments

        1. test-data.txt
          0.9 kB
          Benjamin Geer
        2. query-without-group-concat.txt
          0.4 kB
          Benjamin Geer
        3. query-with-group-concat.txt
          0.5 kB
          Benjamin Geer

          Activity

            People

            • Assignee:
              andy Andy Seaborne
              Reporter:
              benjamingeer Benjamin Geer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: