{
  "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": 60,
                "end": 62
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "mbox",
              "loc": {
                "sourceLocationType": "source",
                "start": 63,
                "end": 72
              },
              "prefix": "foaf"
            },
            "object": {
              "type": "term",
              "subType": "namedNode",
              "value": "mailto:alice@example",
              "loc": {
                "sourceLocationType": "source",
                "start": 73,
                "end": 95
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 60,
              "end": 95
            }
          },
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "x",
              "loc": {
                "sourceLocationType": "source",
                "start": 102,
                "end": 104
              }
            },
            "predicate": {
              "type": "path",
              "loc": {
                "sourceLocationType": "source",
                "start": 105,
                "end": 136
              },
              "items": [
                {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "knows",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 105,
                    "end": 115
                  },
                  "prefix": "foaf"
                },
                {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "knows",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 116,
                    "end": 126
                  },
                  "prefix": "foaf"
                },
                {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "name",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 127,
                    "end": 136
                  },
                  "prefix": "foaf"
                }
              ],
              "subType": "/"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "name",
              "loc": {
                "sourceLocationType": "source",
                "start": 137,
                "end": 142
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 102,
              "end": 142
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 60,
          "end": 144
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 53,
      "end": 148
    }
  },
  "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:knows/foaf:name ?name .\n  }\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 148
    },
    "startOnNew": 0,
    "endOnNew": 148
  },
  "type": "query"
}
