{
  "context": [
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "foaf",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://xmlns.com/foaf/0.1/",
        "loc": {
          "sourceLocationType": "source",
          "start": 13,
          "end": 41
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 0,
        "end": 41
      }
    }
  ],
  "subType": "construct",
  "template": {
    "type": "pattern",
    "subType": "bgp",
    "triples": [
      {
        "type": "triple",
        "subject": {
          "type": "term",
          "subType": "variable",
          "value": "x",
          "loc": {
            "sourceLocationType": "source",
            "start": 60,
            "end": 62
          }
        },
        "predicate": {
          "type": "term",
          "subType": "namedNode",
          "value": "name",
          "loc": {
            "sourceLocationType": "source",
            "start": 63,
            "end": 72
          },
          "prefix": "foaf"
        },
        "object": {
          "type": "term",
          "subType": "variable",
          "value": "name",
          "loc": {
            "sourceLocationType": "source",
            "start": 73,
            "end": 78
          }
        },
        "loc": {
          "sourceLocationType": "source",
          "start": 60,
          "end": 78
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 60,
      "end": 78
    }
  },
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "x",
              "loc": {
                "sourceLocationType": "source",
                "start": 60,
                "end": 62
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "name",
              "loc": {
                "sourceLocationType": "source",
                "start": 63,
                "end": 72
              },
              "prefix": "foaf"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "name",
              "loc": {
                "sourceLocationType": "source",
                "start": 73,
                "end": 78
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 60,
              "end": 78
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 60,
          "end": 78
        }
      }
    ],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "solutionModifiers": {},
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX foaf: <http://xmlns.com/foaf/0.1/>\nCONSTRUCT WHERE { ?x foaf:name ?name }\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 80
    },
    "startOnNew": 0,
    "endOnNew": 80
  },
  "type": "query"
}
