{
  "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": "construct",
  "template": {
    "type": "pattern",
    "subType": "bgp",
    "triples": [
      {
        "type": "triple",
        "subject": {
          "type": "term",
          "subType": "variable",
          "value": "t",
          "loc": {
            "sourceLocationType": "source",
            "start": 49,
            "end": 51
          }
        },
        "predicate": {
          "type": "term",
          "subType": "namedNode",
          "value": "graph",
          "loc": {
            "sourceLocationType": "source",
            "start": 52,
            "end": 58
          },
          "prefix": ""
        },
        "object": {
          "type": "term",
          "subType": "variable",
          "value": "g",
          "loc": {
            "sourceLocationType": "source",
            "start": 59,
            "end": 61
          }
        },
        "annotations": [],
        "loc": {
          "sourceLocationType": "source",
          "start": 49,
          "end": 61
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 49,
      "end": 63
    }
  },
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "graph",
        "name": {
          "type": "term",
          "subType": "variable",
          "value": "g",
          "loc": {
            "sourceLocationType": "source",
            "start": 82,
            "end": 84
          }
        },
        "patterns": [
          {
            "type": "pattern",
            "subType": "bgp",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "variable",
                  "value": "s",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 91,
                    "end": 93
                  }
                },
                "predicate": {
                  "type": "term",
                  "subType": "variable",
                  "value": "p",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 94,
                    "end": 96
                  }
                },
                "object": {
                  "type": "term",
                  "subType": "variable",
                  "value": "o",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 97,
                    "end": 99
                  }
                },
                "annotations": [],
                "loc": {
                  "sourceLocationType": "source",
                  "start": 91,
                  "end": 99
                }
              }
            ],
            "loc": {
              "sourceLocationType": "source",
              "start": 91,
              "end": 101
            }
          },
          {
            "type": "pattern",
            "subType": "bind",
            "expression": {
              "type": "term",
              "subType": "triple",
              "subject": {
                "type": "term",
                "subType": "variable",
                "value": "s",
                "loc": {
                  "sourceLocationType": "source",
                  "start": 114,
                  "end": 116
                }
              },
              "predicate": {
                "type": "term",
                "subType": "variable",
                "value": "p",
                "loc": {
                  "sourceLocationType": "source",
                  "start": 117,
                  "end": 119
                }
              },
              "object": {
                "type": "term",
                "subType": "variable",
                "value": "o",
                "loc": {
                  "sourceLocationType": "source",
                  "start": 121,
                  "end": 123
                }
              },
              "loc": {
                "sourceLocationType": "source",
                "start": 111,
                "end": 126
              }
            },
            "variable": {
              "type": "term",
              "subType": "variable",
              "value": "t",
              "loc": {
                "sourceLocationType": "source",
                "start": 130,
                "end": 132
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 106,
              "end": 133
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 76,
          "end": 137
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 72,
      "end": 139
    }
  },
  "solutionModifiers": {},
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX : <http://example.com/ns#>\n\nCONSTRUCT {\n  ?t :graph ?g .\n} WHERE {\n  GRAPH ?g {\n    ?s ?p ?o .\n    BIND(<<(?s ?p  ?o)>> AS ?t)\n  }\n}\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 139
    },
    "startOnNew": 0,
    "endOnNew": 139
  },
  "type": "query"
}
