Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 1 | { |
| 2 | "@context" : { |
| 3 | "korap" : "http://ids-mannheim.de/ns/KorAP/json-ld/v0.1/", |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 4 | "query" : "koral:query", |
| 5 | "meta" : "koral:meta", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 6 | "collections" : { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 7 | "@id" : "koral:collections", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 8 | "@container" : "@list" |
| 9 | }, |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 10 | "token" : "koral:token/", |
| 11 | "distance" : "koral:distance/", |
| 12 | "boundary" : "koral:boundary/", |
| 13 | "group" : "koral:group/", |
| 14 | "span" : "koral:span/", |
| 15 | "term" : "koral:term/", |
| 16 | "termGroup" : "koral:termGroup/", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 17 | "wrap" : "token:wrap", |
| 18 | "operation" : { |
| 19 | "@id" : "group:operation/", |
| 20 | "@type" : "@id" |
| 21 | }, |
| 22 | "class" : { |
| 23 | "@id" : "group:class", |
| 24 | "@type" : "xsd:integer" |
| 25 | }, |
| 26 | "operands" : { |
| 27 | "@id" : "group:operands", |
| 28 | "@container" : "@list" |
| 29 | }, |
| 30 | "frame" : { |
| 31 | "@id" : "group:frame/", |
| 32 | "@type" : "@id" |
| 33 | }, |
| 34 | "classRef" : { |
| 35 | "@id" : "group:classRef", |
| 36 | "@type" : "xsd:integer" |
| 37 | }, |
| 38 | "spanRef" : { |
| 39 | "@id" : "group:spanRef", |
| 40 | "@type" : "xsd:integer" |
| 41 | }, |
| 42 | "classRefOp" : { |
| 43 | "@id" : "group:classRefOp", |
| 44 | "@type" : "@id" |
| 45 | }, |
| 46 | "min" : { |
| 47 | "@id" : "boundary:min", |
| 48 | "@type" : "xsd:integer" |
| 49 | }, |
| 50 | "max" : { |
| 51 | "@id" : "boundary:max", |
| 52 | "@type" : "xsd:integer" |
| 53 | }, |
| 54 | "exclude" : { |
| 55 | "@id" : "group:exclude", |
| 56 | "@type" : "xsd:boolean" |
| 57 | }, |
| 58 | "distances" : { |
| 59 | "@id" : "group:distances", |
| 60 | "@container" : "@list" |
| 61 | }, |
| 62 | "inOrder" : { |
| 63 | "@id" : "group:inOrder", |
| 64 | "@type" : "xsd:boolean" |
| 65 | }, |
| 66 | "exclude" : { |
| 67 | "@id" : "group:exclude", |
| 68 | "@type" : "xsd:boolean" |
| 69 | }, |
| 70 | "key" : { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 71 | "@id" : "koral:key", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 72 | "@type" : "xsd:string" |
| 73 | }, |
| 74 | "foundry" : { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 75 | "@id" : "koral:foundry", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 76 | "@type" : "xsd:string" |
| 77 | }, |
| 78 | "layer" : { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 79 | "@id" : "koral:layer", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 80 | "@type" : "xsd:string" |
| 81 | }, |
| 82 | "value" : { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 83 | "@id" : "koral:value", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 84 | "@type" : "xsd:string" |
| 85 | }, |
| 86 | "caseInsensitive" : { |
| 87 | "@id" : "term:caseInsensitive", |
| 88 | "@type" : "xsd:boolean" |
| 89 | }, |
| 90 | "type" : { |
| 91 | "@id" : "term:type/", |
| 92 | "@type" : "@id" |
| 93 | }, |
| 94 | "match" : { |
| 95 | "@id" : "term:match/", |
| 96 | "@type" : "@id" |
| 97 | }, |
| 98 | "relation" : { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 99 | "@id" : "koral:relation/", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 100 | "@type" : "@id" |
| 101 | } |
| 102 | }, |
| 103 | "query": { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 104 | "@type": "koral:token", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 105 | "wrap": { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 106 | "@type": "koral:termGroup", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 107 | "relation": "relation:and", |
| 108 | "operands": [ |
| 109 | { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 110 | "@type": "koral:term", |
Nils Diewald | c86aa48 | 2014-02-12 16:58:05 +0000 | [diff] [blame] | 111 | "foundry": "mate", |
| 112 | "layer": "lemma", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 113 | "key" : "Katze" |
| 114 | }, |
| 115 | { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame^] | 116 | "@type": "koral:term", |
Nils Diewald | 8a6eafd | 2014-02-07 20:06:45 +0000 | [diff] [blame] | 117 | "layer": "orth", |
| 118 | "key" : "Katzen" |
| 119 | } |
| 120 | ] |
| 121 | } |
| 122 | } |
| 123 | } |