blob: 3cc2171593a2547326faaef77d59f64c810bb493 [file] [log] [blame]
Nils Diewald8a6eafd2014-02-07 20:06:45 +00001{
Nils Diewald1455e1e2014-08-01 16:12:43 +00002 "@context" : "http://ids-mannheim.de/ns/KorAP/json-ld/v0.1/context.jsonld",
3 "query": {
4 "@type": "korap:group",
5 "operation": "operation:or",
6 "operands": [
7 {
8 "@type": "korap:token",
9 "wrap": {
10 "@type": "korap:term",
11 "layer": "base",
12 "key": "foo"
13 }
14 },
15 {
Nils Diewald82a4b862014-02-20 21:17:41 +000016 "@type": "korap:group",
Nils Diewald1455e1e2014-08-01 16:12:43 +000017 "min" : 0,
18 "operation": "operation:repetition",
Nils Diewald82a4b862014-02-20 21:17:41 +000019 "operands": [
Nils Diewald1455e1e2014-08-01 16:12:43 +000020 {
21 "@type": "korap:group",
22 "operation" : "operation:sequence",
23 "operands": [
24 {
Nils Diewald82a4b862014-02-20 21:17:41 +000025 "@type": "korap:token",
26 "wrap": {
Nils Diewald1455e1e2014-08-01 16:12:43 +000027 "@type": "korap:term",
28 "key": "foo",
29 "layer" : "base"
Nils Diewald82a4b862014-02-20 21:17:41 +000030 }
Nils Diewald1455e1e2014-08-01 16:12:43 +000031 },
32 {
33 "@type": "korap:token",
34 "wrap": {
35 "@type": "korap:term",
36 "layer": "base",
37 "key" : "bar"
38 }
39 }
40 ]
41 }
Nils Diewald82a4b862014-02-20 21:17:41 +000042 ]
Nils Diewald1455e1e2014-08-01 16:12:43 +000043 }
44 ]
45 }
Nils Diewald82a4b862014-02-20 21:17:41 +000046}