{
  "context": [
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "foaf",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://xmlns.com/foaf/0.1/",
        "loc": {
          "sourceLocationType": "source",
          "start": 16,
          "end": 44
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 0,
        "end": 44
      }
    },
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "vcard",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://www.w3.org/2001/vcard-rdf/3.0#",
        "loc": {
          "sourceLocationType": "source",
          "start": 61,
          "end": 100
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 45,
        "end": 100
      }
    }
  ],
  "subType": "construct",
  "template": {
    "type": "pattern",
    "subType": "bgp",
    "triples": [
      {
        "type": "triple",
        "subject": {
          "type": "term",
          "subType": "namedNode",
          "value": "http://example.org/person#Alice",
          "loc": {
            "sourceLocationType": "source",
            "start": 115,
            "end": 148
          }
        },
        "predicate": {
          "type": "term",
          "subType": "namedNode",
          "value": "FN",
          "loc": {
            "sourceLocationType": "source",
            "start": 149,
            "end": 157
          },
          "prefix": "vcard"
        },
        "object": {
          "type": "term",
          "subType": "variable",
          "value": "name",
          "loc": {
            "sourceLocationType": "source",
            "start": 158,
            "end": 163
          }
        },
        "loc": {
          "sourceLocationType": "source",
          "start": 115,
          "end": 163
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 115,
      "end": 163
    }
  },
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "x",
              "loc": {
                "sourceLocationType": "source",
                "start": 180,
                "end": 182
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "name",
              "loc": {
                "sourceLocationType": "source",
                "start": 183,
                "end": 192
              },
              "prefix": "foaf"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "name",
              "loc": {
                "sourceLocationType": "source",
                "start": 193,
                "end": 198
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 180,
              "end": 198
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 180,
          "end": 198
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 178,
      "end": 200
    }
  },
  "solutionModifiers": {},
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX foaf:    <http://xmlns.com/foaf/0.1/>\nPREFIX vcard:   <http://www.w3.org/2001/vcard-rdf/3.0#>\nCONSTRUCT   { <http://example.org/person#Alice> vcard:FN ?name }\nWHERE       { ?x foaf:name ?name }\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 200
    },
    "startOnNew": 0,
    "endOnNew": 200
  },
  "type": "query"
}
