{
  "context": [],
  "subType": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "tripleCollection",
            "subType": "reifiedTriple",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "variable",
                  "value": "s",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 20,
                    "end": 22
                  }
                },
                "predicate": {
                  "type": "term",
                  "subType": "variable",
                  "value": "p",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 23,
                    "end": 25
                  }
                },
                "object": {
                  "type": "term",
                  "subType": "variable",
                  "value": "o",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 26,
                    "end": 28
                  }
                },
                "annotations": [],
                "loc": {
                  "sourceLocationType": "source",
                  "start": 20,
                  "end": 28
                }
              }
            ],
            "identifier": {
              "type": "term",
              "subType": "variable",
              "value": "id",
              "loc": {
                "sourceLocationType": "source",
                "start": 30,
                "end": 33
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 17,
              "end": 36
            }
          },
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "id",
              "loc": {
                "sourceLocationType": "noMaterialize"
              }
            },
            "predicate": {
              "type": "term",
              "subType": "variable",
              "value": "pred",
              "loc": {
                "sourceLocationType": "source",
                "start": 37,
                "end": 42
              }
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "obj",
              "loc": {
                "sourceLocationType": "source",
                "start": 43,
                "end": 47
              }
            },
            "annotations": [],
            "loc": {
              "sourceLocationType": "source",
              "start": 37,
              "end": 47
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 17,
          "end": 47
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 15,
      "end": 49
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "wildcard",
      "loc": {
        "sourceLocationType": "source",
        "start": 7,
        "end": 8
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "SELECT * WHERE { << ?s ?p ?o ~?id >> ?pred ?obj }",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 49
    },
    "startOnNew": 0,
    "endOnNew": 49
  },
  "type": "query"
}
