{
  "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
      }
    }
  ],
  "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": 75,
                "end": 77
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "name",
              "loc": {
                "sourceLocationType": "source",
                "start": 78,
                "end": 87
              },
              "prefix": "foaf"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "name",
              "loc": {
                "sourceLocationType": "source",
                "start": 88,
                "end": 93
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 75,
              "end": 93
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 75,
          "end": 93
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 73,
      "end": 95
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "term",
      "subType": "variable",
      "value": "name",
      "loc": {
        "sourceLocationType": "source",
        "start": 61,
        "end": 66
      }
    }
  ],
  "distinct": true,
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX foaf:    <http://xmlns.com/foaf/0.1/>\nSELECT DISTINCT ?name WHERE { ?x foaf:name ?name }\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 95
    },
    "startOnNew": 0,
    "endOnNew": 95
  },
  "type": "query"
}
