{
  "type": "construct",
  "input": {
    "type": "group",
    "input": {
      "type": "join",
      "input": [
        {
          "type": "bgp",
          "patterns": [
            {
              "type": "pattern",
              "termType": "Quad",
              "subject": {
                "termType": "Variable",
                "value": "s"
              },
              "predicate": {
                "termType": "Variable",
                "value": "p"
              },
              "object": {
                "termType": "Variable",
                "value": "o"
              },
              "graph": {
                "termType": "DefaultGraph",
                "value": ""
              }
            }
          ]
        },
        {
          "type": "values",
          "variables": [
            {
              "termType": "Variable",
              "value": "s"
            }
          ],
          "bindings": [
            {
              "s": {
                "termType": "NamedNode",
                "value": "http://example.org/s1"
              }
            },
            {
              "s": {
                "termType": "NamedNode",
                "value": "http://example.org/s2"
              }
            }
          ]
        }
      ]
    },
    "variables": [
      {
        "termType": "Variable",
        "value": "s"
      }
    ],
    "aggregates": []
  },
  "template": [
    {
      "type": "pattern",
      "termType": "Quad",
      "subject": {
        "termType": "Variable",
        "value": "s"
      },
      "predicate": {
        "termType": "NamedNode",
        "value": "http://example.org/v"
      },
      "object": {
        "termType": "Variable",
        "value": "v"
      },
      "graph": {
        "termType": "DefaultGraph",
        "value": ""
      }
    }
  ]
}
