{
  "@context" : {
    "korap" : "http://ids-mannheim.de/ns/KorAP/json-ld/v0.1/",
    "query" : "koral:query",
    "meta" : "koral:meta",
    "collections" : {
      "@id" : "koral:collections",
      "@container" : "@list"
    },
    "token" : "koral:token/",
    "distance" : "koral:distance/",
    "boundary" : "koral:boundary/",
    "group" : "koral:group/",
    "span" : "koral:span/",
    "term" : "koral:term/",
    "termGroup" : "koral:termGroup/",
    "wrap" : "token:wrap",
    "operation" : {
      "@id" : "group:operation/",
      "@type" : "@id"
    },
    "class" : {
      "@id" : "group:class",
      "@type" : "xsd:integer"
    },
    "operands" : {
      "@id" : "group:operands",
      "@container" : "@list"
    },
    "frame" : {
      "@id" : "group:frame/",
      "@type" : "@id"
    },
    "classRef" : {
      "@id" : "group:classRef",
      "@type" : "xsd:integer"
    },
    "spanRef" : {
      "@id" : "group:spanRef",
      "@type" : "xsd:integer"
    },
    "classRefOp" : {
      "@id" : "group:classRefOp",
      "@type" : "@id"
    },
    "min" : {
      "@id" : "boundary:min",
      "@type" : "xsd:integer"
    },
    "max" : {
      "@id" : "boundary:max",
      "@type" : "xsd:integer"
    },
    "exclude" : {
      "@id" : "group:exclude",
      "@type" : "xsd:boolean"
    },
    "distances" : {
      "@id" : "group:distances",
      "@container" : "@list"
    },
    "inOrder" : {
      "@id" : "group:inOrder",
      "@type" : "xsd:boolean"
    },
    "exclude" : {
      "@id" : "group:exclude",
      "@type" : "xsd:boolean"
    },
    "key" : {
      "@id" : "koral:key",
      "@type" : "xsd:string"
    },
    "foundry" : {
      "@id" : "koral:foundry",
      "@type" : "xsd:string"
    },
    "layer" : {
      "@id" : "koral:layer",
      "@type" : "xsd:string"
    },
    "value" : {
      "@id" : "koral:value",
      "@type" : "xsd:string"
    },
    "caseInsensitive" : {
      "@id" : "term:caseInsensitive",
      "@type" : "xsd:boolean"
    },
    "type" : {
      "@id" : "term:type/",
      "@type" : "@id"
    },
    "match" : {
      "@id" : "term:match/",
      "@type" : "@id"
    },
    "relation" : {
      "@id" : "koral:relation/",
      "@type" : "@id"
    }
  },
  "query": {
    "@type": "koral:token", 
    "wrap": {
      "@type": "koral:termGroup", 
      "relation": "relation:or",
      "operands": [
        {
          "@type": "koral:term", 
	  "foundry" : "mate",
          "layer": "lemma",
          "key" : "Katze", 
          "match": "match:ne"
        }, 
        {
          "@type": "koral:term", 
          "layer": "orth",
          "key" : "Katzen", 
          "match" : "match:ne"
        }
      ]
    }
  }
}
