Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 1 | { |
| 2 | "@context":{ |
| 3 | "korap":"http://korap.ids-mannheim.de/ns/query", |
| 4 | "@language":"de", |
| 5 | "operands":{ |
| 6 | "@id":"korap:operands", |
| 7 | "@container":"@list" |
| 8 | }, |
| 9 | "relation":{ |
| 10 | "@id":"korap:relation", |
| 11 | "@type":"korap:relation#types" |
| 12 | }, |
| 13 | "class":{ |
| 14 | "@id":"korap:class", |
| 15 | "@type":"xsd:integer" |
| 16 | }, |
| 17 | "query":"korap:query", |
| 18 | "filter":"korap:filter", |
| 19 | "meta":"korap:meta" |
| 20 | }, |
| 21 | "query":{ |
| 22 | "@type":"korap:group", |
| 23 | "relation":"or", |
| 24 | "operands":[ |
| 25 | { |
| 26 | "@type":"korap:token", |
| 27 | "@value":{ |
| 28 | "@type":"korap:term", |
| 29 | "@value":"base:foo", |
| 30 | "relation":"=" |
| 31 | } |
| 32 | }, |
| 33 | { |
| 34 | "@type":"korap:sequence", |
| 35 | "operands":[ |
| 36 | { |
| 37 | "@type":"korap:token", |
| 38 | "@value":{ |
| 39 | "@type":"korap:term", |
| 40 | "@value":"base:foo", |
| 41 | "relation":"=" |
| 42 | } |
| 43 | }, |
| 44 | { |
| 45 | "@type":"korap:token", |
| 46 | "@value":{ |
| 47 | "@type":"korap:term", |
| 48 | "@value":"base:bar", |
| 49 | "relation":"=" |
Nils Diewald | 1a6bb09 | 2013-12-04 17:03:19 +0000 | [diff] [blame] | 50 | } |
Nils Diewald | 22efd2d | 2013-11-29 22:54:24 +0000 | [diff] [blame] | 51 | } |
| 52 | ] |
| 53 | } |
| 54 | ] |
| 55 | }, |
| 56 | "meta":{ |
| 57 | "@type":"korap:meta", |
| 58 | "@value":{ |
| 59 | "@type":"korap:group", |
| 60 | "operands":[ |
| 61 | { |
| 62 | "@type":"korap:term", |
| 63 | "@value":"author:Goethe", |
| 64 | "relation":"=" |
| 65 | }, |
| 66 | { |
| 67 | "@type":"korap:term", |
| 68 | "@value":"year:1815", |
| 69 | "relation":"=" |
| 70 | } |
| 71 | ], |
| 72 | "relation":"and" |
| 73 | } |
| 74 | } |
| 75 | } |