{
  "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": "construct",
  "template": {
    "type": "pattern",
    "subType": "bgp",
    "triples": [
      {
        "type": "triple",
        "subject": {
          "type": "term",
          "subType": "namedNode",
          "value": "s",
          "loc": {
            "sourceLocationType": "source",
            "start": 47,
            "end": 49
          },
          "prefix": ""
        },
        "predicate": {
          "type": "term",
          "subType": "namedNode",
          "value": "q",
          "loc": {
            "sourceLocationType": "source",
            "start": 50,
            "end": 52
          },
          "prefix": ""
        },
        "object": {
          "type": "term",
          "subType": "triple",
          "subject": {
            "type": "term",
            "subType": "namedNode",
            "value": "s",
            "loc": {
              "sourceLocationType": "source",
              "start": 56,
              "end": 58
            },
            "prefix": ""
          },
          "predicate": {
            "type": "term",
            "subType": "namedNode",
            "value": "p",
            "loc": {
              "sourceLocationType": "source",
              "start": 59,
              "end": 61
            },
            "prefix": ""
          },
          "object": {
            "type": "term",
            "subType": "namedNode",
            "value": "o",
            "loc": {
              "sourceLocationType": "source",
              "start": 62,
              "end": 64
            },
            "prefix": ""
          },
          "loc": {
            "sourceLocationType": "source",
            "start": 53,
            "end": 68
          }
        },
        "annotations": [],
        "loc": {
          "sourceLocationType": "source",
          "start": 47,
          "end": 68
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 47,
      "end": 68
    }
  },
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [],
    "loc": {
      "sourceLocationType": "source",
      "start": 77,
      "end": 79
    }
  },
  "solutionModifiers": {},
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX : <http://example.com/ns#>\n\nCONSTRUCT { :s :q <<(:s :p :o )>> }\nWHERE {}\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 79
    },
    "startOnNew": 0,
    "endOnNew": 79
  },
  "type": "query"
}
