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", |
Michael Hanl | e8b97a4 | 2013-12-05 22:14:13 +0000 | [diff] [blame] | 68 | "@field": "korap:field#textClass", |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 69 | "@value": "wissenschaft" |
| 70 | } |
| 71 | }, |
| 72 | { |
| 73 | "@type": "korap:meta-filter", |
| 74 | "@id": "korap-filter#id-34345454", |
| 75 | "@value": { |
| 76 | "@type": "korap:group", |
| 77 | "relation": "and", |
| 78 | "operands": [ |
| 79 | { |
| 80 | "@type": "korap:term", |
| 81 | "@field": "korap:field#pubPlace", |
| 82 | "@value": "Erfurt" |
| 83 | }, |
| 84 | { |
| 85 | "@type": "korap:term", |
| 86 | "@field": "korap:field#author", |
| 87 | "@value": "Hesse" |
| 88 | } |
| 89 | ] |
| 90 | } |
| 91 | }, |
| 92 | { |
| 93 | "@type": "korap:meta-extend", |
| 94 | "@value": { |
| 95 | "@type": "korap:group", |
| 96 | "relation": "and", |
| 97 | "operands": [ |
| 98 | { |
| 99 | "@type": "korap:group", |
Michael Hanl | 738e2ac | 2013-12-05 15:05:23 +0000 | [diff] [blame] | 100 | "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] | 101 | "relation": "between", |
Nils Diewald | 2ff18f6 | 2013-12-05 17:41:15 +0000 | [diff] [blame] | 102 | "field": "korap:field#pubDate", |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 103 | "operands": [ |
| 104 | { |
Michael Hanl | 1b37be8 | 2013-12-05 10:48:30 +0000 | [diff] [blame] | 105 | "@type": "korap:date", |
Michael Hanl | 738e2ac | 2013-12-05 15:05:23 +0000 | [diff] [blame] | 106 | "comment": "either long value or String representation '2013-04-29'", |
Michael Hanl | 061b576 | 2013-12-05 17:26:50 +0000 | [diff] [blame] | 107 | "@value": "2011-04-29" |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 108 | }, |
| 109 | { |
Michael Hanl | 1b37be8 | 2013-12-05 10:48:30 +0000 | [diff] [blame] | 110 | "@type": "korap:date", |
Michael Hanl | 061b576 | 2013-12-05 17:26:50 +0000 | [diff] [blame] | 111 | "@value": "2013-12-31" |
Michael Hanl | 1687ad9 | 2013-12-05 04:32:39 +0000 | [diff] [blame] | 112 | } |
| 113 | ] |
| 114 | }, |
| 115 | { |
| 116 | "@type": "korap:term", |
| 117 | "@field": "korap:field#textClass", |
| 118 | "@value": "freizeit" |
| 119 | } |
| 120 | ] |
| 121 | } |
| 122 | } |
| 123 | ] |
| 124 | } |