{
  "context": [],
  "subType": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "s",
              "loc": {
                "sourceLocationType": "source",
                "start": 157,
                "end": 159
              }
            },
            "predicate": {
              "type": "term",
              "subType": "variable",
              "value": "p",
              "loc": {
                "sourceLocationType": "source",
                "start": 160,
                "end": 162
              }
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "c",
              "loc": {
                "sourceLocationType": "source",
                "start": 163,
                "end": 165
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 157,
              "end": 165
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 157,
          "end": 165
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 153,
      "end": 167
    }
  },
  "solutionModifiers": {
    "group": {
      "type": "solutionModifier",
      "subType": "group",
      "groupings": [
        {
          "type": "term",
          "subType": "variable",
          "value": "s",
          "loc": {
            "sourceLocationType": "source",
            "start": 177,
            "end": 179
          }
        }
      ],
      "loc": {
        "sourceLocationType": "source",
        "start": 168,
        "end": 179
      }
    }
  },
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "term",
      "subType": "variable",
      "value": "s",
      "loc": {
        "sourceLocationType": "source",
        "start": 7,
        "end": 9
      }
    },
    {
      "type": "pattern",
      "subType": "bind",
      "expression": {
        "type": "expression",
        "subType": "aggregate",
        "aggregation": "group_concat",
        "distinct": false,
        "loc": {
          "sourceLocationType": "source",
          "start": 11,
          "end": 27
        },
        "expression": [
          {
            "type": "term",
            "subType": "variable",
            "value": "p",
            "loc": {
              "sourceLocationType": "source",
              "start": 24,
              "end": 26
            }
          }
        ],
        "separator": " "
      },
      "variable": {
        "type": "term",
        "subType": "variable",
        "value": "plist",
        "loc": {
          "sourceLocationType": "source",
          "start": 31,
          "end": 37
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 10,
        "end": 38
      }
    },
    {
      "type": "pattern",
      "subType": "bind",
      "expression": {
        "type": "expression",
        "subType": "aggregate",
        "aggregation": "group_concat",
        "distinct": true,
        "loc": {
          "sourceLocationType": "source",
          "start": 40,
          "end": 85
        },
        "expression": [
          {
            "type": "term",
            "subType": "variable",
            "value": "p",
            "loc": {
              "sourceLocationType": "source",
              "start": 62,
              "end": 64
            }
          }
        ],
        "separator": ",\"/"
      },
      "variable": {
        "type": "term",
        "subType": "variable",
        "value": "plist2",
        "loc": {
          "sourceLocationType": "source",
          "start": 89,
          "end": 96
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 39,
        "end": 97
      }
    },
    {
      "type": "pattern",
      "subType": "bind",
      "expression": {
        "type": "expression",
        "subType": "aggregate",
        "aggregation": "group_concat",
        "distinct": true,
        "loc": {
          "sourceLocationType": "source",
          "start": 99,
          "end": 140
        },
        "expression": [
          {
            "type": "term",
            "subType": "variable",
            "value": "p",
            "loc": {
              "sourceLocationType": "source",
              "start": 121,
              "end": 123
            }
          }
        ],
        "separator": ""
      },
      "variable": {
        "type": "term",
        "subType": "variable",
        "value": "plist3",
        "loc": {
          "sourceLocationType": "source",
          "start": 144,
          "end": 151
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 98,
        "end": 152
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "SELECT ?s (GROUP_CONCAT(?p) AS ?plist) (GROUP_CONCAT(DISTINCT ?p; SEPARATOR = \",\\\"/\") AS ?plist2) (GROUP_CONCAT(DISTINCT ?p; SEPARATOR = \"\") AS ?plist3)\n{\n  ?s ?p ?c\n}\nGROUP BY ?s\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 179
    },
    "startOnNew": 0,
    "endOnNew": 179
  },
  "type": "query"
}
