{
  "context": [],
  "subType": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "s",
              "loc": {
                "sourceLocationType": "source",
                "start": 53,
                "end": 55
              }
            },
            "predicate": {
              "type": "term",
              "subType": "variable",
              "value": "p",
              "loc": {
                "sourceLocationType": "source",
                "start": 56,
                "end": 58
              }
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "x",
              "loc": {
                "sourceLocationType": "source",
                "start": 59,
                "end": 61
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 53,
              "end": 61
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 53,
          "end": 61
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 51,
      "end": 63
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "pattern",
      "subType": "bind",
      "expression": {
        "type": "expression",
        "subType": "functionCall",
        "function": {
          "type": "term",
          "subType": "namedNode",
          "value": "http://example.org/f",
          "loc": {
            "sourceLocationType": "source",
            "start": 8,
            "end": 30
          }
        },
        "args": [
          {
            "type": "term",
            "subType": "variable",
            "value": "x",
            "loc": {
              "sourceLocationType": "source",
              "start": 31,
              "end": 33
            }
          }
        ],
        "distinct": false,
        "loc": {
          "sourceLocationType": "source",
          "start": 8,
          "end": 34
        }
      },
      "variable": {
        "type": "term",
        "subType": "variable",
        "value": "y",
        "loc": {
          "sourceLocationType": "source",
          "start": 38,
          "end": 40
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 7,
        "end": 41
      }
    },
    {
      "type": "term",
      "subType": "variable",
      "value": "x",
      "loc": {
        "sourceLocationType": "source",
        "start": 42,
        "end": 44
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "SELECT (<http://example.org/f>(?x) AS ?y) ?x WHERE { ?s ?p ?x }\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 63
    },
    "startOnNew": 0,
    "endOnNew": 63
  },
  "type": "query"
}
