blob: c9a1c3573a8b92317898405851d93b8fdc3f2bab [file] [log] [blame]
bodmod8e7e6c2021-11-10 11:07:38 +01001{
2 "@context": "http://korap.ids-mannheim.de/ns/KoralQuery/v0.3/context.jsonld",
3 "collection": {
4 "@type": "koral:docGroup",
5 "operands": [
6 {
7 "@type": "koral:doc",
8 "key": "availability",
9 "match": "match:eq",
10 "type": "type:regex",
11 "value": "CC-BY.*"
12 },
13 {
14 "@type": "koral:docGroup",
15 "operands": [
16 {
17 "@type": "koral:doc",
18 "key": "availability",
19 "match": "match:eq",
20 "type": "type:regex",
21 "value": "CC-BY.*"
22 },
23 {
24 "@type": "koral:docGroup",
25 "operands": [
26 {
27 "@type": "koral:doc",
28 "key": "availability",
29 "match": "match:eq",
30 "type": "type:regex",
31 "value": "ACA.*"
32 },
33 {
34 "@type": "koral:docGroup",
35 "operands": [
36 {
37 "@type": "koral:doc",
38 "key": "availability",
39 "match": "match:eq",
40 "type": "type:regex",
41 "value": "QAO-NC"
42 },
43 {
44 "@type": "koral:doc",
45 "key": "availability",
46 "match": "match:eq",
47 "type": "type:regex",
48 "value": "QAO.*"
49 }
50 ],
51 "operation": "operation:or"
52 }
53 ],
54 "operation": "operation:or"
55 }
56 ],
57 "operation": "operation:or"
58 }
59 ],
60 "operation": "operation:and",
61 "rewrites": [
62 {
63 "@type": "koral:rewrite",
64 "operation": "operation:insertion",
65 "scope": "availability(FREE)",
66 "src": "Kustvakt"
67 }
68 ]
69 },
70 "matches": [
71 "..."
72 ],
73 "meta": {
74 "benchmark": "5.08010068 s",
75 "context": {
76 "left": [
77 "token",
78 40
79 ],
80 "right": [
81 "token",
82 40
83 ]
84 },
85 "count": 25,
86 "cutOff": true,
87 "fields": [
88 "ID",
89 "UID",
90 "textSigle",
91 "corpusID",
92 "author",
93 "title",
94 "subTitle",
95 "textClass",
96 "pubPlace",
97 "pubDate",
98 "availability",
99 "layerInfos",
100 "docSigle",
101 "corpusSigle"
102 ],
103 "itemsPerPage": 25,
104 "serialQuery": "spanDistance({129: spanNext(spanNext(tokens:tt/l:rennen, tokens:tt/l:schlafen), tokens:tt/l:laufen)}, {129: tokens:tt/l:kaufen}, [(w[0:2], notOrdered, notExcluded)])",
105 "startIndex": 0,
106 "timeout": 10000,
107 "totalResults": -1,
108 "version": "0.59.1"
109 },
110 "query": {
111 "@type": "koral:group",
112 "distances": [
113 {
114 "@type": "cosmas:distance",
115 "boundary": {
116 "@type": "koral:boundary",
117 "max": 2,
118 "min": 0
119 },
120 "key": "w"
121 }
122 ],
123 "inOrder": false,
124 "operands": [
125 {
126 "@type": "koral:group",
127 "classOut": 129,
128 "operands": [
129 {
130 "@type": "koral:group",
131 "operands": [
132 {
133 "@type": "koral:token",
134 "wrap": {
135 "@type": "koral:term",
136 "foundry": "tt",
137 "key": "GF>2&rennen",
138 "layer": "lemma",
139 "match": "match:eq",
140 "rewrites": [
141 {
142 "@type": "koral:rewrite",
143 "operation": "operation:injection",
144 "scope": "foundry",
145 "src": "Kustvakt"
146 }
147 ]
148 }
149 },
150 {
151 "@type": "koral:token",
152 "wrap": {
153 "@type": "koral:term",
154 "foundry": "tt",
155 "key": "schlafen",
156 "layer": "lemma",
157 "match": "match:eq",
158 "rewrites": [
159 {
160 "@type": "koral:rewrite",
161 "operation": "operation:injection",
162 "scope": "foundry",
163 "src": "Kustvakt"
164 }
165 ]
166 }
167 },
168 {
169 "@type": "koral:token",
170 "wrap": {
171 "@type": "koral:term",
172 "foundry": "tt",
173 "key": "laufen",
174 "layer": "lemma",
175 "match": "match:eq",
176 "rewrites": [
177 {
178 "@type": "koral:rewrite",
179 "operation": "operation:injection",
180 "scope": "foundry",
181 "src": "Kustvakt"
182 }
183 ]
184 }
185 }
186 ],
187 "operation": "operation:sequence"
188 }
189 ],
190 "operation": "operation:class"
191 },
192 {
193 "@type": "koral:group",
194 "classOut": 129,
195 "operands": [
196 {
197 "@type": "koral:token",
198 "wrap": {
199 "@type": "koral:term",
200 "foundry": "tt",
201 "key": "kaufen",
202 "layer": "lemma",
203 "match": "match:eq",
204 "rewrites": [
205 {
206 "@type": "koral:rewrite",
207 "operation": "operation:injection",
208 "scope": "foundry",
209 "src": "Kustvakt"
210 }
211 ]
212 }
213 }
214 ],
215 "operation": "operation:class"
216 }
217 ],
218 "operation": "operation:sequence"
219 }
220}