{
  "type": "construct",
  "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": "v"
          }
        ],
        "bindings": [
          {
            "v": {
              "termType": "Literal",
              "value": "1",
              "datatype": {
                "termType": "NamedNode",
                "value": "http://www.w3.org/2001/XMLSchema#integer"
              }
            }
          }
        ]
      }
    ]
  },
  "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": ""
      }
    }
  ]
}
