Joachim Bingel | 11d5b15 | 2014-02-11 21:33:47 +0000 | [diff] [blame^] | 1 | {
|
| 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":"group",
|
| 62 | "operation":"and",
|
| 63 | "operands":[
|
| 64 | {
|
| 65 | "type":"distance",
|
| 66 | "measure":"w",
|
| 67 | "min":"1",
|
| 68 | "max":"3"
|
| 69 | },
|
| 70 | {
|
| 71 | "type":"distance",
|
| 72 | "measure":"s",
|
| 73 | "min":"1",
|
| 74 | "max":"1"
|
| 75 | }
|
| 76 | ]
|
| 77 | }
|
| 78 | ],
|
| 79 | "operands":[
|
| 80 | {
|
| 81 | "type":"token",
|
| 82 | "key":{
|
| 83 | "type":"term",
|
| 84 | "key":"Der",
|
| 85 | "layer":"orth",
|
| 86 | "match":"eq"
|
| 87 | }
|
| 88 | },
|
| 89 | {
|
| 90 | "type":"token",
|
| 91 | "key":{
|
| 92 | "type":"term",
|
| 93 | "key":"Mann",
|
| 94 | "layer":"orth",
|
| 95 | "match":"eq"
|
| 96 | }
|
| 97 | }
|
| 98 | ]
|
| 99 | }
|
| 100 | } |