{
  "type": "update",
  "updates": [
    {
      "context": [],
      "operation": {
        "type": "updateOperation",
        "subType": "insertdata",
        "data": [
          {
            "type": "pattern",
            "subType": "bgp",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "http://example/book1",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 14,
                    "end": 36
                  }
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "urn:label",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 37,
                    "end": 48
                  }
                },
                "object": {
                  "type": "term",
                  "subType": "literal",
                  "value": "A new book",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 49,
                    "end": 61
                  }
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 14,
                  "end": 61
                }
              }
            ],
            "loc": {
              "sourceLocationType": "source",
              "start": 14,
              "end": 63
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 0,
          "end": 64
        }
      }
    },
    {
      "context": [
        {
          "type": "contextDef",
          "subType": "prefix",
          "key": "a",
          "value": {
            "type": "term",
            "subType": "namedNode",
            "value": "urn:a",
            "loc": {
              "sourceLocationType": "source",
              "start": 77,
              "end": 84
            }
          },
          "loc": {
            "sourceLocationType": "source",
            "start": 67,
            "end": 84
          }
        }
      ]
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "INSERT DATA { <http://example/book1> <urn:label> \"A new book\" .} ; PREFIX a: <urn:a>\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 84
    },
    "startOnNew": 0,
    "endOnNew": 84
  }
}
