{
  "type": "update",
  "updates": [
    {
      "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
          }
        }
      ],
      "operation": {
        "type": "updateOperation",
        "subType": "modify",
        "insert": [],
        "delete": [
          {
            "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": "namedNode",
                  "value": "r",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 51,
                    "end": 53
                  },
                  "prefix": ""
                },
                "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": 58,
                        "end": 62
                      },
                      "prefix": ""
                    },
                    "loc": {
                      "sourceLocationType": "source",
                      "start": 56,
                      "end": 62
                    }
                  },
                  {
                    "type": "tripleCollection",
                    "subType": "blankNodeProperties",
                    "triples": [
                      {
                        "type": "triple",
                        "subject": {
                          "type": "term",
                          "subType": "namedNode",
                          "value": "iri",
                          "loc": {
                            "sourceLocationType": "source",
                            "start": 58,
                            "end": 62
                          },
                          "prefix": ""
                        },
                        "predicate": {
                          "type": "term",
                          "subType": "namedNode",
                          "value": "added",
                          "loc": {
                            "sourceLocationType": "source",
                            "start": 66,
                            "end": 72
                          },
                          "prefix": ""
                        },
                        "object": {
                          "type": "term",
                          "subType": "literal",
                          "value": "Property :r",
                          "loc": {
                            "sourceLocationType": "source",
                            "start": 73,
                            "end": 86
                          }
                        },
                        "annotations": [],
                        "loc": {
                          "sourceLocationType": "source",
                          "start": 58,
                          "end": 86
                        }
                      }
                    ],
                    "identifier": {
                      "type": "term",
                      "subType": "namedNode",
                      "value": "iri",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 58,
                        "end": 62
                      },
                      "prefix": ""
                    },
                    "loc": {
                      "sourceLocationType": "source",
                      "start": 63,
                      "end": 89
                    }
                  }
                ],
                "loc": {
                  "sourceLocationType": "source",
                  "start": 48,
                  "end": 89
                }
              }
            ],
            "loc": {
              "sourceLocationType": "source",
              "start": 48,
              "end": 89
            }
          }
        ],
        "where": {
          "type": "pattern",
          "subType": "group",
          "patterns": [
            {
              "type": "pattern",
              "subType": "bgp",
              "triples": [
                {
                  "type": "triple",
                  "subject": {
                    "type": "term",
                    "subType": "variable",
                    "value": "s",
                    "loc": {
                      "sourceLocationType": "source",
                      "start": 103,
                      "end": 105
                    }
                  },
                  "predicate": {
                    "type": "term",
                    "subType": "namedNode",
                    "value": "p",
                    "loc": {
                      "sourceLocationType": "source",
                      "start": 106,
                      "end": 108
                    },
                    "prefix": ""
                  },
                  "object": {
                    "type": "term",
                    "subType": "variable",
                    "value": "o",
                    "loc": {
                      "sourceLocationType": "source",
                      "start": 109,
                      "end": 111
                    }
                  },
                  "annotations": [
                    {
                      "val": {
                        "type": "term",
                        "subType": "namedNode",
                        "value": "iri",
                        "loc": {
                          "sourceLocationType": "source",
                          "start": 113,
                          "end": 117
                        },
                        "prefix": ""
                      },
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 111,
                        "end": 117
                      }
                    },
                    {
                      "type": "tripleCollection",
                      "subType": "blankNodeProperties",
                      "triples": [
                        {
                          "type": "triple",
                          "subject": {
                            "type": "term",
                            "subType": "namedNode",
                            "value": "iri",
                            "loc": {
                              "sourceLocationType": "source",
                              "start": 113,
                              "end": 117
                            },
                            "prefix": ""
                          },
                          "predicate": {
                            "type": "path",
                            "loc": {
                              "sourceLocationType": "source",
                              "start": 121,
                              "end": 125
                            },
                            "items": [
                              {
                                "type": "term",
                                "subType": "namedNode",
                                "value": "q1",
                                "loc": {
                                  "sourceLocationType": "source",
                                  "start": 121,
                                  "end": 124
                                },
                                "prefix": ""
                              }
                            ],
                            "subType": "+"
                          },
                          "object": {
                            "type": "term",
                            "subType": "literal",
                            "value": "ABC",
                            "loc": {
                              "sourceLocationType": "source",
                              "start": 126,
                              "end": 131
                            }
                          },
                          "annotations": [],
                          "loc": {
                            "sourceLocationType": "source",
                            "start": 113,
                            "end": 131
                          }
                        }
                      ],
                      "identifier": {
                        "type": "term",
                        "subType": "namedNode",
                        "value": "iri",
                        "loc": {
                          "sourceLocationType": "source",
                          "start": 113,
                          "end": 117
                        },
                        "prefix": ""
                      },
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 118,
                        "end": 134
                      }
                    }
                  ],
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 103,
                    "end": 134
                  }
                }
              ],
              "loc": {
                "sourceLocationType": "source",
                "start": 103,
                "end": 134
              }
            }
          ],
          "loc": {
            "sourceLocationType": "source",
            "start": 98,
            "end": 136
          }
        },
        "from": {
          "type": "datasetClauses",
          "clauses": [],
          "loc": {
            "sourceLocationType": "noMaterialize"
          }
        },
        "loc": {
          "sourceLocationType": "source",
          "start": 35,
          "end": 136
        }
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX : <http://example.com/ns#>\n\nDELETE {\n    ?s :r ?o~ :iri {| :added 'Property :r' |}\n} WHERE {\n   ?s :p ?o~ :iri {| :q1+ 'ABC' |}\n}\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 136
    },
    "startOnNew": 0,
    "endOnNew": 136
  }
}
