{
  "context": [
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "owl",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://www.w3.org/2002/07/owl#",
        "loc": {
          "sourceLocationType": "source",
          "start": 12,
          "end": 44
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 0,
        "end": 44
      }
    }
  ],
  "subType": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "group",
        "patterns": [
          {
            "type": "pattern",
            "subType": "bgp",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "variable",
                  "value": "c",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 69,
                    "end": 71
                  }
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 72,
                    "end": 73
                  }
                },
                "object": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "Class",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 74,
                    "end": 83
                  },
                  "prefix": "owl"
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 69,
                  "end": 83
                }
              }
            ],
            "loc": {
              "sourceLocationType": "source",
              "start": 69,
              "end": 85
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 67,
          "end": 87
        }
      },
      {
        "type": "pattern",
        "subType": "filter",
        "expression": {
          "type": "expression",
          "subType": "operation",
          "operator": "!",
          "args": [
            {
              "type": "expression",
              "subType": "operation",
              "operator": "&&",
              "args": [
                {
                  "type": "expression",
                  "subType": "operation",
                  "operator": "bound",
                  "args": [
                    {
                      "type": "term",
                      "subType": "variable",
                      "value": "c",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 110,
                        "end": 112
                      }
                    }
                  ],
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 104,
                    "end": 113
                  }
                },
                {
                  "type": "expression",
                  "subType": "operation",
                  "operator": "regex",
                  "args": [
                    {
                      "type": "expression",
                      "subType": "operation",
                      "operator": "str",
                      "args": [
                        {
                          "type": "term",
                          "subType": "variable",
                          "value": "c",
                          "loc": {
                            "sourceLocationType": "source",
                            "start": 129,
                            "end": 131
                          }
                        }
                      ],
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 125,
                        "end": 132
                      }
                    },
                    {
                      "type": "term",
                      "subType": "literal",
                      "value": "^toto",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 134,
                        "end": 141
                      }
                    },
                    {
                      "type": "term",
                      "subType": "literal",
                      "value": "i",
                      "loc": {
                        "sourceLocationType": "source",
                        "start": 142,
                        "end": 145
                      }
                    }
                  ],
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 117,
                    "end": 147
                  }
                }
              ],
              "loc": {
                "sourceLocationType": "source",
                "start": 103,
                "end": 148
              }
            }
          ],
          "loc": {
            "sourceLocationType": "source",
            "start": 99,
            "end": 150
          }
        },
        "loc": {
          "sourceLocationType": "source",
          "start": 92,
          "end": 150
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 61,
      "end": 152
    }
  },
  "solutionModifiers": {
    "limitOffset": {
      "type": "solutionModifier",
      "subType": "limitOffset",
      "limit": 10,
      "loc": {
        "sourceLocationType": "source",
        "start": 153,
        "end": 161
      }
    }
  },
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "wildcard",
      "loc": {
        "sourceLocationType": "source",
        "start": 53,
        "end": 54
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX owl: <http://www.w3.org/2002/07/owl#>\n\nselect *\nwhere {\n    { ?c a owl:Class . }\n    FILTER ( ! (BOUND(?c) && ( REGEX(str(?c), \"^toto\",\"i\"))) )\n}\nlimit 10\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 161
    },
    "startOnNew": 0,
    "endOnNew": 161
  },
  "type": "query"
}
