{
  "context": [],
  "subType": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "s",
              "loc": {
                "sourceLocationType": "source",
                "start": 35,
                "end": 37
              }
            },
            "predicate": {
              "type": "term",
              "subType": "variable",
              "value": "p",
              "loc": {
                "sourceLocationType": "source",
                "start": 38,
                "end": 40
              }
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "o",
              "loc": {
                "sourceLocationType": "source",
                "start": 41,
                "end": 43
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 35,
              "end": 43
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 35,
          "end": 43
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 33,
      "end": 45
    }
  },
  "solutionModifiers": {},
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "pattern",
      "subType": "bind",
      "expression": {
        "type": "expression",
        "subType": "aggregate",
        "aggregation": "count",
        "distinct": false,
        "loc": {
          "sourceLocationType": "source",
          "start": 8,
          "end": 17
        },
        "expression": [
          {
            "type": "term",
            "subType": "variable",
            "value": "s",
            "loc": {
              "sourceLocationType": "source",
              "start": 14,
              "end": 16
            }
          }
        ]
      },
      "variable": {
        "type": "term",
        "subType": "variable",
        "value": "cnt",
        "loc": {
          "sourceLocationType": "source",
          "start": 21,
          "end": 25
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 7,
        "end": 26
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "SELECT (COUNT(?s) AS ?cnt) WHERE { ?s ?p ?o }",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 45
    },
    "startOnNew": 0,
    "endOnNew": 45
  },
  "type": "query"
}
