{
  "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": 48,
                "end": 50
              }
            },
            "predicate": {
              "type": "term",
              "subType": "variable",
              "value": "p",
              "loc": {
                "sourceLocationType": "source",
                "start": 51,
                "end": 53
              }
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "o",
              "loc": {
                "sourceLocationType": "source",
                "start": 54,
                "end": 56
              }
            },
            "annotations": [
              {
                "val": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "iri",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 59,
                    "end": 63
                  },
                  "prefix": ""
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 57,
                  "end": 63
                }
              },
              {
                "type": "tripleCollection",
                "subType": "blankNodeProperties",
                "triples": [
                  {
                    "type": "triple",
                    "subject": {
                      "type": "term",
                      "subType": "namedNode",
                      "value": "iri",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 59,
                        "end": 63
                      },
                      "prefix": ""
                    },
                    "predicate": {
                      "type": "path",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 67,
                        "end": 72
                      },
                      "items": [
                        {
                          "type": "term",
                          "subType": "namedNode",
                          "value": "r",
                          "loc": {
                            "sourceLocationType": "source",
                            "start": 67,
                            "end": 69
                          },
                          "prefix": ""
                        },
                        {
                          "type": "term",
                          "subType": "namedNode",
                          "value": "q",
                          "loc": {
                            "sourceLocationType": "source",
                            "start": 70,
                            "end": 72
                          },
                          "prefix": ""
                        }
                      ],
                      "subType": "/"
                    },
                    "object": {
                      "type": "term",
                      "subType": "literal",
                      "value": "ABC",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 73,
                        "end": 78
                      }
                    },
                    "annotations": [],
                    "loc": {
                      "sourceLocationType": "source",
                      "start": 59,
                      "end": 78
                    }
                  }
                ],
                "identifier": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "iri",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 59,
                    "end": 63
                  },
                  "prefix": ""
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 64,
                  "end": 81
                }
              }
            ],
            "loc": {
              "sourceLocationType": "source",
              "start": 48,
              "end": 81
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 48,
          "end": 83
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 44,
      "end": 85
    }
  },
  "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  ?s ?p ?o ~ :iri {| :r/:q 'ABC' |} .\n}\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 85
    },
    "startOnNew": 0,
    "endOnNew": 85
  },
  "type": "query"
}
