{
  "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": 61,
                "end": 63
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "mbox",
              "loc": {
                "sourceLocationType": "source",
                "start": 64,
                "end": 73
              },
              "prefix": "foaf"
            },
            "object": {
              "type": "term",
              "subType": "namedNode",
              "value": "mailto:alice@example",
              "loc": {
                "sourceLocationType": "source",
                "start": 74,
                "end": 96
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 61,
              "end": 96
            }
          },
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "x",
              "loc": {
                "sourceLocationType": "source",
                "start": 103,
                "end": 105
              }
            },
            "predicate": {
              "type": "path",
              "loc": {
                "sourceLocationType": "source",
                "start": 106,
                "end": 127
              },
              "items": [
                {
                  "type": "path",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 106,
                    "end": 117
                  },
                  "items": [
                    {
                      "type": "term",
                      "subType": "namedNode",
                      "value": "knows",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 106,
                        "end": 116
                      },
                      "prefix": "foaf"
                    }
                  ],
                  "subType": "+"
                },
                {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "name",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 118,
                    "end": 127
                  },
                  "prefix": "foaf"
                }
              ],
              "subType": "/"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "name",
              "loc": {
                "sourceLocationType": "source",
                "start": 128,
                "end": 133
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 103,
              "end": 133
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 61,
          "end": 135
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 55,
      "end": 139
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "wildcard",
      "loc": {
        "sourceLocationType": "source",
        "start": 51,
        "end": 52
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX foaf: <http://xmlns.com/foaf/0.1/>\n  SELECT *\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": 139
    },
    "startOnNew": 0,
    "endOnNew": 139
  },
  "type": "query"
}
