blob: 67ad0b4b5f337c35cd8adee9f65733dcc9e7879c [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":"token",
70 "key":{
71 "type":"term",
72 "key":"geht",
73 "layer":"orth",
74 "match":"eq"
75 }
76 },
77 {
78 "type":"group",
79 "operation":"sequence",
80 "inOrder":"true",
81 "distances":[
82 {
83 "type":"group",
84 "operation":"and",
85 "operands":[
86 {
87 "type":"distance",
88 "measure":"w",
89 "min":"1",
90 "max":"3"
91 },
92 {
93 "type":"distance",
94 "measure":"s",
95 "min":"1",
96 "max":"1"
97 }
98 ]
99 }
100 ],
101 "operands":[
102 {
103 "type":"token",
104 "key":{
105 "type":"term",
106 "key":"Der",
107 "layer":"orth",
108 "match":"eq"
109 }
110 },
111 {
112 "type":"token",
113 "key":{
114 "type":"term",
115 "key":"Mann",
116 "layer":"orth",
117 "match":"eq"
118 }
119 }
120 ]
121 }
122 ]
123 }
124}