{
  "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
      }
    },
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "dc",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://purl.org/dc/elements/1.1/",
        "loc": {
          "sourceLocationType": "source",
          "start": 53,
          "end": 87
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 42,
        "end": 87
      }
    }
  ],
  "subType": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "g",
              "loc": {
                "sourceLocationType": "source",
                "start": 229,
                "end": 231
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "publisher",
              "loc": {
                "sourceLocationType": "source",
                "start": 232,
                "end": 244
              },
              "prefix": "dc"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "who",
              "loc": {
                "sourceLocationType": "source",
                "start": 245,
                "end": 249
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 229,
              "end": 249
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 229,
          "end": 251
        }
      },
      {
        "type": "pattern",
        "subType": "graph",
        "name": {
          "type": "term",
          "subType": "variable",
          "value": "g",
          "loc": {
            "sourceLocationType": "source",
            "start": 261,
            "end": 263
          }
        },
        "patterns": [
          {
            "type": "pattern",
            "subType": "bgp",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "variable",
                  "value": "x",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 266,
                    "end": 268
                  }
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "mbox",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 269,
                    "end": 278
                  },
                  "prefix": "foaf"
                },
                "object": {
                  "type": "term",
                  "subType": "variable",
                  "value": "mbox",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 279,
                    "end": 284
                  }
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 266,
                  "end": 284
                }
              }
            ],
            "loc": {
              "sourceLocationType": "source",
              "start": 266,
              "end": 284
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 255,
          "end": 286
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 224,
      "end": 288
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [
      {
        "clauseType": "default",
        "value": {
          "type": "term",
          "subType": "namedNode",
          "value": "http://example.org/dft.ttl",
          "loc": {
            "sourceLocationType": "source",
            "start": 115,
            "end": 143
          }
        }
      },
      {
        "clauseType": "named",
        "value": {
          "type": "term",
          "subType": "namedNode",
          "value": "http://example.org/alice",
          "loc": {
            "sourceLocationType": "source",
            "start": 155,
            "end": 181
          }
        }
      },
      {
        "clauseType": "named",
        "value": {
          "type": "term",
          "subType": "namedNode",
          "value": "http://example.org/bob",
          "loc": {
            "sourceLocationType": "source",
            "start": 193,
            "end": 217
          }
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 110,
      "end": 217
    }
  },
  "variables": [
    {
      "type": "term",
      "subType": "variable",
      "value": "who",
      "loc": {
        "sourceLocationType": "source",
        "start": 96,
        "end": 100
      }
    },
    {
      "type": "term",
      "subType": "variable",
      "value": "g",
      "loc": {
        "sourceLocationType": "source",
        "start": 101,
        "end": 103
      }
    },
    {
      "type": "term",
      "subType": "variable",
      "value": "mbox",
      "loc": {
        "sourceLocationType": "source",
        "start": 104,
        "end": 109
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX foaf: <http://xmlns.com/foaf/0.1/>\nPREFIX dc: <http://purl.org/dc/elements/1.1/>\n\nSELECT ?who ?g ?mbox\nFROM <http://example.org/dft.ttl>\nFROM NAMED <http://example.org/alice>\nFROM NAMED <http://example.org/bob>\nWHERE\n{\n   ?g dc:publisher ?who .\n   GRAPH ?g { ?x foaf:mbox ?mbox }\n}\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 288
    },
    "startOnNew": 0,
    "endOnNew": 288
  },
  "type": "query"
}
