{
  "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": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "x",
              "loc": {
                "sourceLocationType": "source",
                "start": 59,
                "end": 61
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "mbox",
              "loc": {
                "sourceLocationType": "source",
                "start": 62,
                "end": 71
              },
              "prefix": "foaf"
            },
            "object": {
              "type": "term",
              "subType": "namedNode",
              "value": "mailto:alice@example",
              "loc": {
                "sourceLocationType": "source",
                "start": 72,
                "end": 94
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 59,
              "end": 94
            }
          },
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "x",
              "loc": {
                "sourceLocationType": "source",
                "start": 101,
                "end": 103
              }
            },
            "predicate": {
              "type": "path",
              "loc": {
                "sourceLocationType": "source",
                "start": 104,
                "end": 124
              },
              "items": [
                {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "knows",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 104,
                    "end": 114
                  },
                  "prefix": "foaf"
                },
                {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "name",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 115,
                    "end": 124
                  },
                  "prefix": "foaf"
                }
              ],
              "subType": "/"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "name",
              "loc": {
                "sourceLocationType": "source",
                "start": 125,
                "end": 130
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 101,
              "end": 130
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 59,
          "end": 132
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 53,
      "end": 136
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "wildcard",
      "loc": {
        "sourceLocationType": "source",
        "start": 49,
        "end": 50
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX foaf: <http://xmlns.com/foaf/0.1/>\nSELECT *\n  {\n    ?x foaf:mbox <mailto:alice@example> .\n    ?x foaf:knows/foaf:name ?name .\n  }\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 136
    },
    "startOnNew": 0,
    "endOnNew": 136
  },
  "type": "query"
}
