Nils Diewald | 23417e8 | 2014-02-12 18:33:24 +0000 | [diff] [blame] | 1 | { |
Akron | 60dfa7e | 2015-08-03 22:15:17 +0200 | [diff] [blame] | 2 | "@context": "http://ids-mannheim.de/ns/KorAP/json-ld/v0.1/context.jsonld", |
| 3 | "meta" : { |
| 4 | "startPage" : 2, |
| 5 | "count" : 5, |
| 6 | "context" : { |
| 7 | "left" : [ "token", 3 ], |
| 8 | "right" : [ "char", 6 ] |
| 9 | } |
| 10 | }, |
| 11 | "query":{ |
| 12 | "@type":"koral:group", |
| 13 | "operation":"operation:or", |
| 14 | "operands":[ |
| 15 | { |
| 16 | "@type":"koral:token", |
| 17 | "wrap":{ |
| 18 | "@type":"koral:term", |
| 19 | "foundry":"mate", |
| 20 | "layer" : "lemma", |
| 21 | "key" : "Vokal", |
| 22 | "match":"match:eq" |
| 23 | } |
| 24 | }, |
| 25 | { |
| 26 | "@type":"koral:group", |
| 27 | "operation": "operation:sequence", |
| 28 | "operands":[ |
| 29 | { |
Nils Diewald | cec40f9 | 2015-02-19 22:20:02 +0000 | [diff] [blame] | 30 | "@type":"koral:token", |
Nils Diewald | 23417e8 | 2014-02-12 18:33:24 +0000 | [diff] [blame] | 31 | "wrap":{ |
Akron | 60dfa7e | 2015-08-03 22:15:17 +0200 | [diff] [blame] | 32 | "@type":"koral:term", |
| 33 | "foundry":"mate", |
| 34 | "layer" : "base", |
| 35 | "key" : "der", |
| 36 | "match":"match:eq" |
Nils Diewald | 23417e8 | 2014-02-12 18:33:24 +0000 | [diff] [blame] | 37 | } |
Akron | 60dfa7e | 2015-08-03 22:15:17 +0200 | [diff] [blame] | 38 | }, |
| 39 | { |
| 40 | "@type":"koral:token", |
| 41 | "wrap":{ |
| 42 | "@type":"koral:term", |
| 43 | "foundry":"mate", |
| 44 | "layer" : "pos", |
| 45 | "key" : "ADJA", |
| 46 | "match":"match:eq" |
Nils Diewald | 23417e8 | 2014-02-12 18:33:24 +0000 | [diff] [blame] | 47 | } |
Akron | 60dfa7e | 2015-08-03 22:15:17 +0200 | [diff] [blame] | 48 | } |
| 49 | ] |
| 50 | } |
Nils Diewald | 23417e8 | 2014-02-12 18:33:24 +0000 | [diff] [blame] | 51 | ] |
Akron | 60dfa7e | 2015-08-03 22:15:17 +0200 | [diff] [blame] | 52 | }, |
| 53 | "collection" : { |
| 54 | "@type" : "koral:docGroup", |
| 55 | "operation": "operation:or", |
| 56 | "operands" : [ |
| 57 | { |
| 58 | "@type" : "koral:docGroup", |
| 59 | "operation" : "operation:and", |
| 60 | "operands" : [ |
| 61 | { |
| 62 | "@type": "koral:doc", |
| 63 | "key": "textClass", |
| 64 | "value": "wissenschaft" |
| 65 | }, |
| 66 | { |
| 67 | "@type" : "koral:docGroup", |
| 68 | "operation" : "operation:and", |
| 69 | "operands": [ |
| 70 | { |
| 71 | "@type": "koral:doc", |
| 72 | "key": "pubPlace", |
| 73 | "value": "Erfurt" |
| 74 | }, |
| 75 | { |
| 76 | "@type": "koral:doc", |
| 77 | "key": "author", |
| 78 | "value": "Hesse" |
| 79 | } |
| 80 | ] |
| 81 | } |
| 82 | ] |
| 83 | }, |
| 84 | { |
| 85 | "@type" : "koral:docGroup", |
| 86 | "operation" : "operation:and", |
| 87 | "operands": [ |
| 88 | { |
| 89 | "@type": "koral:docGroup", |
| 90 | "comment": "other values can be 'since','until' in combination with a simple korap:term", |
| 91 | "operation" : "operation:and", |
| 92 | "operands": [ |
| 93 | { |
| 94 | "@type": "koral:doc", |
| 95 | "type": "type:date", |
| 96 | "comment": "either long value or String representation '2013-04-29'", |
| 97 | "key" : "pubDate", |
| 98 | "match": "match:geq", |
| 99 | "value": "2011-04-29" |
| 100 | }, |
| 101 | { |
| 102 | "@type": "koral:doc", |
| 103 | "type": "type:date", |
| 104 | "key" : "pubDate", |
| 105 | "match": "match:leq", |
| 106 | "value": "2013-12-31" |
| 107 | } |
| 108 | ] |
| 109 | }, |
| 110 | { |
| 111 | "@type": "koral:doc", |
| 112 | "key": "textClass", |
| 113 | "value": "freizeit" |
| 114 | } |
| 115 | ] |
| 116 | }] |
| 117 | }, |
| 118 | "collections": [ |
| 119 | { |
| 120 | "@type": "koral:meta-filter", |
| 121 | "@id": "korap-filter#id-1223232", |
| 122 | "@value": { |
| 123 | "@type": "koral:term", |
| 124 | "@field": "koral:field#textClass", |
| 125 | "@value": "wissenschaft" |
| 126 | } |
| 127 | }, |
| 128 | { |
| 129 | "@type": "koral:meta-filter", |
| 130 | "@id": "korap-filter#id-34345454", |
| 131 | "@value": { |
| 132 | "@type": "koral:group", |
| 133 | "relation": "and", |
| 134 | "operands": [ |
| 135 | { |
| 136 | "@type": "koral:term", |
| 137 | "@field": "koral:field#pubPlace", |
| 138 | "@value": "Erfurt" |
| 139 | }, |
| 140 | { |
| 141 | "@type": "koral:term", |
| 142 | "@field": "koral:field#author", |
| 143 | "@value": "Hesse" |
| 144 | } |
| 145 | ] |
| 146 | } |
| 147 | }, |
| 148 | { |
| 149 | "@type": "koral:meta-extend", |
| 150 | "@value": { |
| 151 | "@type": "koral:group", |
| 152 | "relation": "and", |
| 153 | "operands": [ |
| 154 | { |
| 155 | "@type": "koral:group", |
| 156 | "comment": "other values can be 'since','until' in combination with a simple korap:term", |
| 157 | "relation": "between", |
| 158 | "field": "koral:field#pubDate", |
| 159 | "operands": [ |
| 160 | { |
| 161 | "@type": "koral:date", |
| 162 | "comment": "either long value or String representation '2013-04-29'", |
| 163 | "@value": "2011-04-29" |
| 164 | }, |
| 165 | { |
| 166 | "@type": "koral:date", |
| 167 | "@value": "2013-12-31" |
| 168 | } |
| 169 | ] |
| 170 | }, |
| 171 | { |
| 172 | "@type": "koral:term", |
| 173 | "@field": "koral:field#textClass", |
| 174 | "@value": "freizeit" |
| 175 | } |
| 176 | ] |
| 177 | } |
| 178 | } |
| 179 | ] |
Nils Diewald | 23417e8 | 2014-02-12 18:33:24 +0000 | [diff] [blame] | 180 | } |