{
  "context": [
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "dc",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://purl.org/dc/elements/1.1/",
        "loc": {
          "sourceLocationType": "source",
          "start": 13,
          "end": 47
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 0,
        "end": 47
      }
    },
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://example.org/book/",
        "loc": {
          "sourceLocationType": "source",
          "start": 62,
          "end": 88
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 49,
        "end": 88
      }
    },
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "ns",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://example.org/ns#",
        "loc": {
          "sourceLocationType": "source",
          "start": 103,
          "end": 127
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 90,
        "end": 127
      }
    }
  ],
  "subType": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "book",
              "loc": {
                "sourceLocationType": "source",
                "start": 162,
                "end": 167
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "title",
              "loc": {
                "sourceLocationType": "source",
                "start": 168,
                "end": 176
              },
              "prefix": "dc"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "title",
              "loc": {
                "sourceLocationType": "source",
                "start": 177,
                "end": 183
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 162,
              "end": 183
            }
          },
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "book",
              "loc": {
                "sourceLocationType": "noMaterialize"
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "price",
              "loc": {
                "sourceLocationType": "source",
                "start": 195,
                "end": 203
              },
              "prefix": "ns"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "price",
              "loc": {
                "sourceLocationType": "source",
                "start": 204,
                "end": 210
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 195,
              "end": 210
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 162,
          "end": 212
        }
      },
      {
        "type": "pattern",
        "subType": "values",
        "variables": [
          {
            "type": "term",
            "subType": "variable",
            "value": "book",
            "loc": {
              "sourceLocationType": "source",
              "start": 224,
              "end": 229
            }
          },
          {
            "type": "term",
            "subType": "variable",
            "value": "title",
            "loc": {
              "sourceLocationType": "source",
              "start": 230,
              "end": 236
            }
          }
        ],
        "values": [
          {
            "title": {
              "type": "term",
              "subType": "literal",
              "value": "SPARQL Tutorial",
              "loc": {
                "sourceLocationType": "source",
                "start": 250,
                "end": 267
              }
            }
          },
          {
            "book": {
              "type": "term",
              "subType": "namedNode",
              "value": "book2",
              "loc": {
                "sourceLocationType": "source",
                "start": 275,
                "end": 281
              },
              "prefix": ""
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 216,
          "end": 293
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 157,
      "end": 295
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "term",
      "subType": "variable",
      "value": "book",
      "loc": {
        "sourceLocationType": "source",
        "start": 137,
        "end": 142
      }
    },
    {
      "type": "term",
      "subType": "variable",
      "value": "title",
      "loc": {
        "sourceLocationType": "source",
        "start": 143,
        "end": 149
      }
    },
    {
      "type": "term",
      "subType": "variable",
      "value": "price",
      "loc": {
        "sourceLocationType": "source",
        "start": 150,
        "end": 156
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX dc:   <http://purl.org/dc/elements/1.1/> \nPREFIX :     <http://example.org/book/> \nPREFIX ns:   <http://example.org/ns#> \n\nSELECT ?book ?title ?price\n{\n   ?book dc:title ?title ;\n         ns:price ?price .\n   VALUES (?book ?title)\n   { (UNDEF \"SPARQL Tutorial\")\n     (:book2 UNDEF)\n   }\n}\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 295
    },
    "startOnNew": 0,
    "endOnNew": 295
  },
  "type": "query"
}
