blob: 8bd8755983e05e4937860caac7a2c2db79f0ecbb [file] [log] [blame]
Nils Diewaldc86aa482014-02-12 16:58:05 +00001{
2 "@context": "http://ids-mannheim.de/ns/KorAP/json-ld/v0.1/context.jsonld",
3 "query":{
Nils Diewaldcec40f92015-02-19 22:20:02 +00004 "@type":"koral:group",
Nils Diewaldc86aa482014-02-12 16:58:05 +00005 "operation":"operation:or",
6 "operands":[
7 {
Nils Diewaldcec40f92015-02-19 22:20:02 +00008 "@type":"koral:token",
Nils Diewaldc86aa482014-02-12 16:58:05 +00009 "wrap":{
Nils Diewaldcec40f92015-02-19 22:20:02 +000010 "@type":"koral:term",
Nils Diewaldc86aa482014-02-12 16:58:05 +000011 "foundry":"mate",
12 "layer" : "lemma",
13 "key" :"foo",
14 "match":"match:eq"
15 }
16 },
17 {
Nils Diewaldcec40f92015-02-19 22:20:02 +000018 "@type":"koral:group",
Nils Diewaldc86aa482014-02-12 16:58:05 +000019 "operation":"operation:sequence",
20 "operands":[
21 {
Nils Diewaldcec40f92015-02-19 22:20:02 +000022 "@type":"koral:token",
Nils Diewaldc86aa482014-02-12 16:58:05 +000023 "wrap":{
Nils Diewaldcec40f92015-02-19 22:20:02 +000024 "@type":"koral:term",
Nils Diewaldc86aa482014-02-12 16:58:05 +000025 "foundry" : "mate",
26 "layer":"lemma",
27 "key":"foo",
28 "match":"match:eq"
29 }
30 },
31 {
Nils Diewaldcec40f92015-02-19 22:20:02 +000032 "@type":"koral:token",
Nils Diewaldc86aa482014-02-12 16:58:05 +000033 "wrap":{
Nils Diewaldcec40f92015-02-19 22:20:02 +000034 "@type":"koral:term",
Nils Diewaldc86aa482014-02-12 16:58:05 +000035 "foundry": "mate",
36 "layer":"lemma",
37 "key" : "bar",
38 "match":"match:eq"
39 }
40 }
41 ]
42 }
43 ]
44 },
Nils Diewald23417e82014-02-12 18:33:24 +000045 "poliqarp-meta":{
Nils Diewaldcec40f92015-02-19 22:20:02 +000046 "@type":"koral:meta",
Nils Diewaldc86aa482014-02-12 16:58:05 +000047 "@value":{
Nils Diewaldcec40f92015-02-19 22:20:02 +000048 "@type":"koral:group",
Nils Diewaldc86aa482014-02-12 16:58:05 +000049 "operands":[
50 {
Nils Diewaldcec40f92015-02-19 22:20:02 +000051 "@type":"koral:term",
Nils Diewaldc86aa482014-02-12 16:58:05 +000052 "@value":"author:Goethe",
53 "relation":"="
54 },
55 {
Nils Diewaldcec40f92015-02-19 22:20:02 +000056 "@type":"koral:term",
Nils Diewaldc86aa482014-02-12 16:58:05 +000057 "@value":"year:1815",
58 "relation":"="
59 }
60 ],
61 "relation":"and"
62 }
63 }
64}