{
  "type": "project",
  "input": {
    "type": "join",
    "input": [
      {
        "type": "project",
        "input": {
          "type": "project",
          "input": {
            "type": "bgp",
            "patterns": [
              {
                "type": "pattern",
                "termType": "Quad",
                "subject": {
                  "termType": "Variable",
                  "value": "x"
                },
                "predicate": {
                  "termType": "NamedNode",
                  "value": "http://www.example.org/schema#q"
                },
                "object": {
                  "termType": "Variable",
                  "value": "t"
                },
                "graph": {
                  "termType": "DefaultGraph",
                  "value": ""
                }
              }
            ]
          },
          "variables": [
            {
              "termType": "Variable",
              "value": "x"
            }
          ]
        },
        "variables": [
          {
            "termType": "Variable",
            "value": "x"
          }
        ]
      },
      {
        "type": "bgp",
        "patterns": [
          {
            "type": "pattern",
            "termType": "Quad",
            "subject": {
              "termType": "Variable",
              "value": "x"
            },
            "predicate": {
              "termType": "NamedNode",
              "value": "http://www.example.org/schema#p"
            },
            "object": {
              "termType": "Variable",
              "value": "y"
            },
            "graph": {
              "termType": "DefaultGraph",
              "value": ""
            }
          }
        ]
      }
    ]
  },
  "variables": [
    {
      "termType": "Variable",
      "value": "x"
    },
    {
      "termType": "Variable",
      "value": "y"
    }
  ]
}
