{
  "type": "update",
  "updates": [
    {
      "context": [
        {
          "type": "contextDef",
          "subType": "prefix",
          "key": "foaf",
          "value": {
            "type": "term",
            "subType": "namedNode",
            "value": "http://xmlns.com/foaf/0.1/",
            "loc": {
              "sourceLocationType": "source",
              "start": 14,
              "end": 42
            }
          },
          "loc": {
            "sourceLocationType": "source",
            "start": 0,
            "end": 42
          }
        }
      ],
      "operation": {
        "type": "updateOperation",
        "subType": "deletewhere",
        "data": [
          {
            "type": "pattern",
            "subType": "bgp",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "variable",
                  "value": "person",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 59,
                    "end": 66
                  }
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "givenName",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 67,
                    "end": 81
                  },
                  "prefix": "foaf"
                },
                "object": {
                  "type": "term",
                  "subType": "literal",
                  "value": "Fred",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 82,
                    "end": 88
                  }
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 59,
                  "end": 88
                }
              },
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "variable",
                  "value": "person",
                  "loc": {
                    "sourceLocationType": "noMaterialize"
                  }
                },
                "predicate": {
                  "type": "term",
                  "subType": "variable",
                  "value": "property",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 113,
                    "end": 122
                  }
                },
                "object": {
                  "type": "term",
                  "subType": "variable",
                  "value": "value",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 128,
                    "end": 134
                  }
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 113,
                  "end": 134
                }
              }
            ],
            "loc": {
              "sourceLocationType": "source",
              "start": 59,
              "end": 134
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 44,
          "end": 136
        }
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX foaf:  <http://xmlns.com/foaf/0.1/>\n\nDELETE WHERE { ?person foaf:givenName 'Fred';\n                       ?property      ?value }\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 136
    },
    "startOnNew": 0,
    "endOnNew": 136
  }
}
