{
  "context": [
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "bsbm-inst",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/",
        "loc": {
          "sourceLocationType": "source",
          "start": 18,
          "end": 77
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 0,
        "end": 77
      }
    },
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "bsbm",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/",
        "loc": {
          "sourceLocationType": "source",
          "start": 91,
          "end": 151
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 78,
        "end": 151
      }
    },
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "rdfs",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://www.w3.org/2000/01/rdf-schema#",
        "loc": {
          "sourceLocationType": "source",
          "start": 165,
          "end": 204
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 152,
        "end": 204
      }
    },
    {
      "type": "contextDef",
      "subType": "prefix",
      "key": "rdf",
      "value": {
        "type": "term",
        "subType": "namedNode",
        "value": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
        "loc": {
          "sourceLocationType": "source",
          "start": 217,
          "end": 262
        }
      },
      "loc": {
        "sourceLocationType": "source",
        "start": 205,
        "end": 262
      }
    }
  ],
  "subType": "select",
  "where": {
    "type": "pattern",
    "subType": "group",
    "patterns": [
      {
        "type": "pattern",
        "subType": "bgp",
        "triples": [
          {
            "type": "triple",
            "subject": {
              "type": "term",
              "subType": "variable",
              "value": "product",
              "loc": {
                "sourceLocationType": "source",
                "start": 299,
                "end": 307
              }
            },
            "predicate": {
              "type": "term",
              "subType": "namedNode",
              "value": "label",
              "loc": {
                "sourceLocationType": "source",
                "start": 308,
                "end": 318
              },
              "prefix": "rdfs"
            },
            "object": {
              "type": "term",
              "subType": "variable",
              "value": "label",
              "loc": {
                "sourceLocationType": "source",
                "start": 319,
                "end": 325
              }
            },
            "loc": {
              "sourceLocationType": "source",
              "start": 299,
              "end": 325
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 299,
          "end": 327
        }
      },
      {
        "type": "pattern",
        "subType": "optional",
        "patterns": [
          {
            "type": "pattern",
            "subType": "bgp",
            "triples": [
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "variable",
                  "value": "product",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 351,
                    "end": 359
                  }
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "productFeature",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 360,
                    "end": 379
                  },
                  "prefix": "bsbm"
                },
                "object": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/ProductFeature1043",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 380,
                    "end": 457
                  }
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 351,
                  "end": 457
                }
              },
              {
                "type": "triple",
                "subject": {
                  "type": "term",
                  "subType": "variable",
                  "value": "product",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 468,
                    "end": 476
                  }
                },
                "predicate": {
                  "type": "term",
                  "subType": "namedNode",
                  "value": "label",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 477,
                    "end": 487
                  },
                  "prefix": "rdfs"
                },
                "object": {
                  "type": "term",
                  "subType": "variable",
                  "value": "testVar",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 488,
                    "end": 496
                  }
                },
                "loc": {
                  "sourceLocationType": "source",
                  "start": 468,
                  "end": 496
                }
              }
            ],
            "loc": {
              "sourceLocationType": "source",
              "start": 351,
              "end": 459
            }
          }
        ],
        "loc": {
          "sourceLocationType": "source",
          "start": 332,
          "end": 498
        }
      },
      {
        "type": "pattern",
        "subType": "filter",
        "expression": {
          "type": "expression",
          "subType": "operation",
          "operator": "!",
          "args": [
            {
              "type": "expression",
              "subType": "operation",
              "operator": "bound",
              "args": [
                {
                  "type": "term",
                  "subType": "variable",
                  "value": "testVar",
                  "loc": {
                    "sourceLocationType": "source",
                    "start": 518,
                    "end": 526
                  }
                }
              ],
              "loc": {
                "sourceLocationType": "source",
                "start": 512,
                "end": 527
              }
            }
          ],
          "loc": {
            "sourceLocationType": "source",
            "start": 510,
            "end": 528
          }
        },
        "loc": {
          "sourceLocationType": "source",
          "start": 503,
          "end": 528
        }
      }
    ],
    "loc": {
      "sourceLocationType": "source",
      "start": 293,
      "end": 531
    }
  },
  "solutionModifiers": {
    "limitOffset": {
      "type": "solutionModifier",
      "subType": "limitOffset",
      "limit": 10,
      "loc": {
        "sourceLocationType": "source",
        "start": 548,
        "end": 556
      }
    },
    "order": {
      "type": "solutionModifier",
      "subType": "order",
      "orderDefs": [
        {
          "expression": {
            "type": "term",
            "subType": "variable",
            "value": "label",
            "loc": {
              "sourceLocationType": "source",
              "start": 541,
              "end": 547
            }
          },
          "descending": false,
          "loc": {
            "sourceLocationType": "source",
            "start": 541,
            "end": 547
          }
        }
      ],
      "loc": {
        "sourceLocationType": "source",
        "start": 532,
        "end": 547
      }
    }
  },
  "datasets": {
    "type": "datasetClauses",
    "clauses": [],
    "loc": {
      "sourceLocationType": "noMaterialize"
    }
  },
  "variables": [
    {
      "type": "term",
      "subType": "variable",
      "value": "product",
      "loc": {
        "sourceLocationType": "source",
        "start": 271,
        "end": 279
      }
    },
    {
      "type": "term",
      "subType": "variable",
      "value": "label",
      "loc": {
        "sourceLocationType": "source",
        "start": 280,
        "end": 286
      }
    }
  ],
  "loc": {
    "sourceLocationType": "inlinedSource",
    "newSource": "PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>\nPREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>\nPREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\n\nSELECT ?product ?label\nWHERE {\n    ?product rdfs:label ?label .\n    OPTIONAL {\n        ?product bsbm:productFeature <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/ProductFeature1043> .\n        ?product rdfs:label ?testVar }\n    FILTER (!bound(?testVar)) \n}\nORDER BY ?label\nLIMIT 10\n",
    "start": 0,
    "end": 9007199254740991,
    "loc": {
      "sourceLocationType": "source",
      "start": 0,
      "end": 556
    },
    "startOnNew": 0,
    "endOnNew": 556
  },
  "type": "query"
}
