updated examples
diff --git a/examples/cosmas17.json b/examples/cosmas17.json
index 32e073b..61333fd 100644
--- a/examples/cosmas17.json
+++ b/examples/cosmas17.json
@@ -2,20 +2,30 @@
"context" : "http://ids-mannheim.de/ns/KorAP/json-ld/v0.1/context.jsonld",
"query" : {
"@type" : "korap:group",
- "operation" : "operation:position",
- "frame" : "frame:startswith",
+ "operation" : "operation:submatch",
+ "classRef" : [ 1 ],
"operands" : [ {
- "@type" : "korap:span",
- "key" : "s"
- }, {
- "@type" : "korap:token",
- "wrap" : {
- "@type" : "korap:term",
- "caseInsensitive" : true,
- "key" : "wegen",
- "layer" : "orth",
- "match" : "match:eq"
- }
+ "@type" : "korap:group",
+ "operation" : "operation:position",
+ "frame" : "frame:startswith",
+ "operands" : [ {
+ "@type" : "korap:span",
+ "key" : "s"
+ }, {
+ "@type" : "korap:group",
+ "operation" : "operation:class",
+ "class" : 1,
+ "operands" : [ {
+ "@type" : "korap:token",
+ "wrap" : {
+ "@type" : "korap:term",
+ "caseInsensitive" : true,
+ "key" : "wegen",
+ "layer" : "orth",
+ "match" : "match:eq"
+ }
+ } ]
+ } ]
} ]
}
}
\ No newline at end of file