{
  "type": "project",
  "input": {
    "type": "orderby",
    "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": ""
          }
        }
      ]
    },
    "expressions": [
      {
        "type": "expression",
        "subType": "term",
        "term": {
          "termType": "Variable",
          "value": "o"
        }
      }
    ]
  },
  "variables": [
    {
      "termType": "Variable",
      "value": "o"
    },
    {
      "termType": "Variable",
      "value": "p"
    },
    {
      "termType": "Variable",
      "value": "s"
    }
  ]
}
