{
  "context": [
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://example.com/ns#",
        "loc": {
          "sourceLocationType": "source",
          "start": 9,
          "end": 33
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 0,
        "end": 33
      }
    }
  ],
  "subType": "construct",
  "template": {
    "type": "pattern",
    "subType": "bgp",
    "triples": [
      {
        "type": "triple",
        "subject": {
          "type": "term",
          "subType": "variable",
          "value": "s",
          "loc": {
            "sourceLocationType": "source",
            "start": 55,
            "end": 57
          }
        },
        "predicate": {
          "type": "term",
          "subType": "variable",
          "value": "p",
          "loc": {
            "sourceLocationType": "source",
            "start": 58,
            "end": 60
          }
        },
        "object": {
          "type": "term",
          "subType": "variable",
          "value": "o",
          "loc": {
            "sourceLocationType": "source",
            "start": 61,
            "end": 63
          }
        },
        "annotations": [
          {
            "type": "tripleCollection",
            "subType": "blankNodeProperties",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "blankNode",
                  "loc": {
                    "sourceLocationType": "noMaterialize"
                  },
                  "label": "g_0"
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "r1",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 67,
                    "end": 70
                  },
                  "prefix": ""
                },
                "object": {
                  "type": "term",
                  "subType": "variable",
                  "value": "Z1",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 71,
                    "end": 74
                  }
                },
                "annotations": [],
                "loc": {
                  "sourceLocationType": "source",
                  "start": 67,
                  "end": 74
                }
              }
            ],
            "identifier": {
              "type": "term",
              "subType": "blankNode",
              "loc": {
                "sourceLocationType": "noMaterialize"
              },
              "label": "g_0"
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 64,
              "end": 77
            }
          },
          {
            "type": "tripleCollection",
            "subType": "blankNodeProperties",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "blankNode",
                  "loc": {
                    "sourceLocationType": "noMaterialize"
                  },
                  "label": "g_1"
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "r2",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 81,
                    "end": 84
                  },
                  "prefix": ""
                },
                "object": {
                  "type": "term",
                  "subType": "variable",
                  "value": "Z2",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 85,
                    "end": 88
                  }
                },
                "annotations": [],
                "loc": {
                  "sourceLocationType": "source",
                  "start": 81,
                  "end": 88
                }
              }
            ],
            "identifier": {
              "type": "term",
              "subType": "blankNode",
              "loc": {
                "sourceLocationType": "noMaterialize"
              },
              "label": "g_1"
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 78,
              "end": 91
            }
          },
          {
            "type": "tripleCollection",
            "subType": "blankNodeProperties",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "blankNode",
                  "loc": {
                    "sourceLocationType": "noMaterialize"
                  },
                  "label": "g_2"
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "r3",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 95,
                    "end": 98
                  },
                  "prefix": ""
                },
                "object": {
                  "type": "term",
                  "subType": "variable",
                  "value": "Z3",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 99,
                    "end": 102
                  }
                },
                "annotations": [],
                "loc": {
                  "sourceLocationType": "source",
                  "start": 95,
                  "end": 102
                }
              }
            ],
            "identifier": {
              "type": "term",
              "subType": "blankNode",
              "loc": {
                "sourceLocationType": "noMaterialize"
              },
              "label": "g_2"
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 92,
              "end": 105
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 55,
          "end": 105
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 55,
      "end": 107
    }
  },
  "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": "s",
              "loc": {
                "sourceLocationType": "source",
                "start": 55,
                "end": 57
              }
            },
            "predicate": {
              "type": "term",
              "subType": "variable",
              "value": "p",
              "loc": {
                "sourceLocationType": "source",
                "start": 58,
                "end": 60
              }
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "o",
              "loc": {
                "sourceLocationType": "source",
                "start": 61,
                "end": 63
              }
            },
            "annotations": [
              {
                "type": "tripleCollection",
                "subType": "blankNodeProperties",
                "triples": [
                  {
                    "type": "triple",
                    "subject": {
                      "type": "term",
                      "subType": "blankNode",
                      "loc": {
                        "sourceLocationType": "noMaterialize"
                      },
                      "label": "g_0"
                    },
                    "predicate": {
                      "type": "term",
                      "subType": "namedNode",
                      "value": "r1",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 67,
                        "end": 70
                      },
                      "prefix": ""
                    },
                    "object": {
                      "type": "term",
                      "subType": "variable",
                      "value": "Z1",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 71,
                        "end": 74
                      }
                    },
                    "annotations": [],
                    "loc": {
                      "sourceLocationType": "source",
                      "start": 67,
                      "end": 74
                    }
                  }
                ],
                "identifier": {
                  "type": "term",
                  "subType": "blankNode",
                  "loc": {
                    "sourceLocationType": "noMaterialize"
                  },
                  "label": "g_0"
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 64,
                  "end": 77
                }
              },
              {
                "type": "tripleCollection",
                "subType": "blankNodeProperties",
                "triples": [
                  {
                    "type": "triple",
                    "subject": {
                      "type": "term",
                      "subType": "blankNode",
                      "loc": {
                        "sourceLocationType": "noMaterialize"
                      },
                      "label": "g_1"
                    },
                    "predicate": {
                      "type": "term",
                      "subType": "namedNode",
                      "value": "r2",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 81,
                        "end": 84
                      },
                      "prefix": ""
                    },
                    "object": {
                      "type": "term",
                      "subType": "variable",
                      "value": "Z2",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 85,
                        "end": 88
                      }
                    },
                    "annotations": [],
                    "loc": {
                      "sourceLocationType": "source",
                      "start": 81,
                      "end": 88
                    }
                  }
                ],
                "identifier": {
                  "type": "term",
                  "subType": "blankNode",
                  "loc": {
                    "sourceLocationType": "noMaterialize"
                  },
                  "label": "g_1"
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 78,
                  "end": 91
                }
              },
              {
                "type": "tripleCollection",
                "subType": "blankNodeProperties",
                "triples": [
                  {
                    "type": "triple",
                    "subject": {
                      "type": "term",
                      "subType": "blankNode",
                      "loc": {
                        "sourceLocationType": "noMaterialize"
                      },
                      "label": "g_2"
                    },
                    "predicate": {
                      "type": "term",
                      "subType": "namedNode",
                      "value": "r3",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 95,
                        "end": 98
                      },
                      "prefix": ""
                    },
                    "object": {
                      "type": "term",
                      "subType": "variable",
                      "value": "Z3",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 99,
                        "end": 102
                      }
                    },
                    "annotations": [],
                    "loc": {
                      "sourceLocationType": "source",
                      "start": 95,
                      "end": 102
                    }
                  }
                ],
                "identifier": {
                  "type": "term",
                  "subType": "blankNode",
                  "loc": {
                    "sourceLocationType": "noMaterialize"
                  },
                  "label": "g_2"
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 92,
                  "end": 105
                }
              }
            ],
            "loc": {
              "sourceLocationType": "source",
              "start": 55,
              "end": 105
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 55,
          "end": 107
        }
      }
    ],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "solutionModifiers": {},
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX : <http://example.com/ns#>\n\nCONSTRUCT WHERE {\n  ?s ?p ?o {| :r1 ?Z1 |} {| :r2 ?Z2 |} {| :r3 ?Z3 |} .\n}\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 109
    },
    "startOnNew": 0,
    "endOnNew": 109
  },
  "type": "query"
}
