Nils Diewald | c86aa48 | 2014-02-12 16:58:05 +0000 | [diff] [blame] | 1 | { |
| 2 | "@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 | "foundry":"mate", |
| 12 | "layer" : "lemma", |
| 13 | "key" :"foo", |
| 14 | "match":"match:eq" |
| 15 | } |
| 16 | }, |
| 17 | { |
| 18 | "@type":"korap:group", |
| 19 | "operation":"operation:sequence", |
| 20 | "operands":[ |
| 21 | { |
| 22 | "@type":"korap:token", |
| 23 | "wrap":{ |
| 24 | "@type":"korap:term", |
| 25 | "foundry" : "mate", |
| 26 | "layer":"lemma", |
| 27 | "key":"foo", |
| 28 | "match":"match:eq" |
| 29 | } |
| 30 | }, |
| 31 | { |
| 32 | "@type":"korap:token", |
| 33 | "wrap":{ |
| 34 | "@type":"korap:term", |
| 35 | "foundry": "mate", |
| 36 | "layer":"lemma", |
| 37 | "key" : "bar", |
| 38 | "match":"match:eq" |
| 39 | } |
| 40 | } |
| 41 | ] |
| 42 | } |
| 43 | ] |
| 44 | }, |
Nils Diewald | 23417e8 | 2014-02-12 18:33:24 +0000 | [diff] [blame^] | 45 | "poliqarp-meta":{ |
Nils Diewald | c86aa48 | 2014-02-12 16:58:05 +0000 | [diff] [blame] | 46 | "@type":"korap:meta", |
| 47 | "@value":{ |
| 48 | "@type":"korap:group", |
| 49 | "operands":[ |
| 50 | { |
| 51 | "@type":"korap:term", |
| 52 | "@value":"author:Goethe", |
| 53 | "relation":"=" |
| 54 | }, |
| 55 | { |
| 56 | "@type":"korap:term", |
| 57 | "@value":"year:1815", |
| 58 | "relation":"=" |
| 59 | } |
| 60 | ], |
| 61 | "relation":"and" |
| 62 | } |
| 63 | } |
| 64 | } |