{
  "context": [
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://example.com/ns#",
        "loc": {
          "sourceLocationType": "source",
          "start": 9,
          "end": 33
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 0,
        "end": 33
      }
    }
  ],
  "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": 49,
                "end": 51
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "p",
              "loc": {
                "sourceLocationType": "source",
                "start": 52,
                "end": 54
              },
              "prefix": ""
            },
            "object": {
              "type": "term",
              "subType": "triple",
              "subject": {
                "type": "term",
                "subType": "namedNode",
                "value": "a",
                "loc": {
                  "sourceLocationType": "source",
                  "start": 58,
                  "end": 60
                },
                "prefix": ""
              },
              "predicate": {
                "type": "term",
                "subType": "namedNode",
                "value": "b",
                "loc": {
                  "sourceLocationType": "source",
                  "start": 61,
                  "end": 63
                },
                "prefix": ""
              },
              "object": {
                "type": "term",
                "subType": "variable",
                "value": "C",
                "loc": {
                  "sourceLocationType": "source",
                  "start": 64,
                  "end": 66
                }
              },
              "loc": {
                "sourceLocationType": "source",
                "start": 55,
                "end": 70
              }
            },
            "annotations": [],
            "loc": {
              "sourceLocationType": "source",
              "start": 49,
              "end": 70
            }
          },
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "s",
              "loc": {
                "sourceLocationType": "source",
                "start": 75,
                "end": 77
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "q",
              "loc": {
                "sourceLocationType": "source",
                "start": 83,
                "end": 85
              },
              "prefix": ""
            },
            "object": {
              "type": "term",
              "subType": "triple",
              "subject": {
                "type": "term",
                "subType": "variable",
                "value": "s1",
                "loc": {
                  "sourceLocationType": "source",
                  "start": 92,
                  "end": 95
                }
              },
              "predicate": {
                "type": "term",
                "subType": "namedNode",
                "value": "p",
                "loc": {
                  "sourceLocationType": "source",
                  "start": 96,
                  "end": 98
                },
                "prefix": ""
              },
              "object": {
                "type": "term",
                "subType": "triple",
                "subject": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "a",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 102,
                    "end": 104
                  },
                  "prefix": ""
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "b",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 105,
                    "end": 107
                  },
                  "prefix": ""
                },
                "object": {
                  "type": "term",
                  "subType": "blankNode",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 108,
                    "end": 110
                  },
                  "label": "g_0"
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 99,
                  "end": 114
                }
              },
              "loc": {
                "sourceLocationType": "source",
                "start": 88,
                "end": 118
              }
            },
            "annotations": [],
            "loc": {
              "sourceLocationType": "source",
              "start": 75,
              "end": 118
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 49,
          "end": 120
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 44,
      "end": 122
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "wildcard",
      "loc": {
        "sourceLocationType": "source",
        "start": 42,
        "end": 43
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX : <http://example.com/ns#>\n\nSELECT * {\n\n  ?s :p <<(:a :b ?C )>> .\n  ?s\n     :q\n  <<( ?s1 :p <<(:a :b [] )>> )>> .\n}\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 122
    },
    "startOnNew": 0,
    "endOnNew": 122
  },
  "type": "query"
}
