blob: 0593de07482c84a2ea738703da49c5b3e1dc3785 [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":1,
64 "max":3
65 }
66 ],
67 "operands":[
68 {
69 "type":"token",
70 "key":{
71 "type":"term",
72 "key":"Der",
73 "layer":"orth",
74 "match":"eq"
75 }
76 },
77 {
78 "type":"token",
79 "key":{
80 "type":"term",
81 "key":"Mann",
82 "layer":"orth",
83 "match":"eq"
84 }
85 }
86 ]
87 }
88}