Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +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 | }, |
Nils Diewald | e81476d | 2013-12-05 17:33:11 +0000 | [diff] [blame] | 21 | "startPage" : 2, |
| 22 | "count" : 5, |
| 23 | "context" : { |
Nils Diewald | 6ef6ec1 | 2013-12-05 18:02:02 +0000 | [diff] [blame] | 24 | "left" : [ "token", 3 ], |
| 25 | "right" : [ "char", 6 ] |
Nils Diewald | e81476d | 2013-12-05 17:33:11 +0000 | [diff] [blame] | 26 | }, |
Nils Diewald | 4b845de | 2013-12-05 17:34:35 +0000 | [diff] [blame] | 27 | "query":{ |
| 28 | "@type":"korap:group", |
| 29 | "relation":"or", |
| 30 | "operands":[ |
| 31 | { |
| 32 | "@type":"korap:token", |
| 33 | "@value":{ |
| 34 | "@type":"korap:term", |
| 35 | "@value":"base:Vokal", |
| 36 | "relation":"=" |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 37 | } |
Nils Diewald | 4b845de | 2013-12-05 17:34:35 +0000 | [diff] [blame] | 38 | }, |
| 39 | { |
| 40 | "@type":"korap:sequence", |
| 41 | "operands":[ |
| 42 | { |
| 43 | "@type":"korap:token", |
| 44 | "@value":{ |
| 45 | "@type":"korap:term", |
| 46 | "@value":"base:der", |
| 47 | "relation":"=" |
| 48 | } |
| 49 | }, |
| 50 | { |
| 51 | "@type":"korap:token", |
| 52 | "@value":{ |
| 53 | "@type":"korap:term", |
Nils Diewald | 6ef6ec1 | 2013-12-05 18:02:02 +0000 | [diff] [blame] | 54 | "@value":"mate/p:ADJA", |
Nils Diewald | 4b845de | 2013-12-05 17:34:35 +0000 | [diff] [blame] | 55 | "relation":"=" |
| 56 | } |
| 57 | } |
| 58 | ] |
| 59 | } |
| 60 | ] |
| 61 | }, |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 62 | "meta": [ |
| 63 | { |
| 64 | "@type": "korap:meta-filter", |
| 65 | "@id": "korap-filter#id-1223232", |
| 66 | "@value": { |
| 67 | "@type": "korap:term", |
| 68 | "@value": "wissenschaft" |
| 69 | } |
| 70 | }, |
| 71 | { |
| 72 | "@type": "korap:meta-filter", |
| 73 | "@id": "korap-filter#id-34345454", |
| 74 | "@value": { |
| 75 | "@type": "korap:group", |
| 76 | "relation": "and", |
| 77 | "operands": [ |
| 78 | { |
| 79 | "@type": "korap:term", |
| 80 | "@field": "korap:field#pubPlace", |
| 81 | "@value": "Erfurt" |
| 82 | }, |
| 83 | { |
| 84 | "@type": "korap:term", |
| 85 | "@field": "korap:field#author", |
| 86 | "@value": "Hesse" |
| 87 | } |
| 88 | ] |
| 89 | } |
| 90 | }, |
| 91 | { |
| 92 | "@type": "korap:meta-extend", |
| 93 | "@value": { |
| 94 | "@type": "korap:group", |
| 95 | "relation": "and", |
| 96 | "operands": [ |
| 97 | { |
| 98 | "@type": "korap:group", |
Michael Hanl | 738e2ac | 2013-12-05 15:05:23 +0000 | [diff] [blame] | 99 | "comment": "other values can be 'since','until' in combination with a simple korap:term", |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 100 | "relation": "between", |
Nils Diewald | 2ff18f6 | 2013-12-05 17:41:15 +0000 | [diff] [blame] | 101 | "field": "korap:field#pubDate", |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 102 | "operands": [ |
| 103 | { |
Michael Hanl | 1b37be8 | 2013-12-05 10:48:30 +0000 | [diff] [blame] | 104 | "@type": "korap:date", |
Michael Hanl | 738e2ac | 2013-12-05 15:05:23 +0000 | [diff] [blame] | 105 | "comment": "either long value or String representation '2013-04-29'", |
Michael Hanl | 061b576 | 2013-12-05 17:26:50 +0000 | [diff] [blame] | 106 | "@value": "2011-04-29" |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 107 | }, |
| 108 | { |
Michael Hanl | 1b37be8 | 2013-12-05 10:48:30 +0000 | [diff] [blame] | 109 | "@type": "korap:date", |
Michael Hanl | 061b576 | 2013-12-05 17:26:50 +0000 | [diff] [blame] | 110 | "@value": "2013-12-31" |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 111 | } |
| 112 | ] |
| 113 | }, |
| 114 | { |
| 115 | "@type": "korap:term", |
| 116 | "@field": "korap:field#textClass", |
| 117 | "@value": "freizeit" |
| 118 | } |
| 119 | ] |
| 120 | } |
| 121 | } |
| 122 | ] |
| 123 | } |