{
  "context": [
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "foaf",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://xmlns.com/foaf/0.1/",
        "loc": {
          "sourceLocationType": "source",
          "start": 15,
          "end": 43
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 2,
        "end": 43
      }
    },
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://example/",
        "loc": {
          "sourceLocationType": "source",
          "start": 59,
          "end": 76
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 46,
        "end": 76
      }
    }
  ],
  "subType": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "namedNode",
              "value": "x",
              "loc": {
                "sourceLocationType": "source",
                "start": 103,
                "end": 105
              },
              "prefix": ""
            },
            "predicate": {
              "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": "+"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "person",
              "loc": {
                "sourceLocationType": "source",
                "start": 118,
                "end": 125
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 103,
              "end": 125
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 103,
          "end": 125
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 96,
      "end": 129
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "term",
      "subType": "variable",
      "value": "person",
      "loc": {
        "sourceLocationType": "source",
        "start": 86,
        "end": 93
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "  PREFIX foaf: <http://xmlns.com/foaf/0.1/>\n  PREFIX :     <http://example/>\n  SELECT ?person\n  { \n    :x foaf:knows+ ?person\n  }\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 2,
      "end": 129
    },
    "startOnNew": 2,
    "endOnNew": 129
  },
  "type": "query"
}
