blob: b15ce11a9800904a60c3247df876ddfad549d7eb [file] [log] [blame]
Joachim Bingel11d5b152014-02-11 21:33:47 +00001{
2 "@context":{
3 "korap":"http://korap.ids-mannheim.de/ns/KorAP/json-ld/v0.1/",
4 "boundary":"korap:boundary/",
5 "group":"korap:group/",
6 "operation":{
7 "@id":"group:operation/",
8 "@type":"@id"
9 },
10 "class":{
11 "@id":"group:class",
12 "@type":"xsd:integer"
13 },
14 "operands":{
15 "@id":"group:operands",
16 "@container":"@list"
17 },
18 "frame":{
19 "@id":"group:frame/",
20 "@type":"@id"
21 },
22 "classRef":{
23 "@id":"group:classRef",
24 "@type":"xsd:integer"
25 },
26 "spanRef":{
27 "@id":"group:spanRef",
28 "@type":"xsd:integer"
29 },
30 "classRefOp":{
31 "@id":"group:classRefOp",
32 "@type":"@id"
33 },
34 "min":{
35 "@id":"boundary:min",
36 "@type":"xsd:integer"
37 },
38 "max":{
39 "@id":"boundary:max",
40 "@type":"xsd:integer"
41 },
42 "exclude":{
43 "@id":"group:exclude",
44 "@type":"xsd:boolean"
45 },
46 "distances":{
47 "@id":"group:distances",
48 "@container":"@list"
49 },
50 "inOrder":{
51 "@id":"group:inOrder",
52 "@type":"xsd:boolean"
53 }
54 },
55 "query":{
56 "type":"group",
57 "operation":"sequence",
58 "inOrder":"true",
59 "distances":[
60 {
61 "type":"distance",
62 "measure":"w",
63 "min":0,
64 "max":5
65 }
66 ],
67 "operands":[
68 {
69 "type":"group",
70 "operation":"sequence",
71 "inOrder":"true",
72 "distances":[
73 {
74 "type":"group",
75 "operation":"and",
76 "operands":[
77 {
78 "type":"distance",
79 "measure":"w",
80 "min":"1",
81 "max":"3"
82 },
83 {
84 "type":"distance",
85 "measure":"s",
86 "min":"1",
87 "max":"1"
88 }
89 ]
90 }
91 ],
92 "operands":[
93 {
94 "type":"token",
95 "key":{
96 "type":"term",
97 "key":"Der",
98 "layer":"orth",
99 "match":"eq"
100 }
101 },
102 {
103 "type":"token",
104 "key":{
105 "type":"term",
106 "key":"Mann",
107 "layer":"orth",
108 "match":"eq"
109 }
110 }
111 ]
112 },
113 {
114 "type":"token",
115 "key":{
116 "type":"term",
117 "key":"geht",
118 "layer":"orth",
119 "match":"eq"
120 }
121 }
122 ]
123 }
124}