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":"=" |
| 50 | }, |
| 51 | "repetition":"*" |
| 52 | } |
| 53 | ] |
| 54 | } |
| 55 | ] |
| 56 | }, |
| 57 | "meta":{ |
| 58 | "@type":"korap:meta", |
| 59 | "@value":{ |
| 60 | "@type":"korap:group", |
| 61 | "operands":[ |
| 62 | { |
| 63 | "@type":"korap:term", |
| 64 | "@value":"author:Goethe", |
| 65 | "relation":"=" |
| 66 | }, |
| 67 | { |
| 68 | "@type":"korap:term", |
| 69 | "@value":"year:1815", |
| 70 | "relation":"=" |
| 71 | } |
| 72 | ], |
| 73 | "relation":"and" |
| 74 | } |
| 75 | } |
| 76 | } |