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