added some example queries + serializations
diff --git a/src/test/resources/queries/bsp4.json b/src/test/resources/queries/bsp4.json
index e98afbd..c7ddb5b 100644
--- a/src/test/resources/queries/bsp4.json
+++ b/src/test/resources/queries/bsp4.json
@@ -1,49 +1,55 @@
{
- "@context":{
- "korap":"http://korap.ids-mannheim.de/ns/query",
- "@language":"de",
- "operands":{
- "@id":"korap:operands",
- "@container":"@list"
- },
- "relation":{
- "@id":"korap:relation",
- "@type":"korap:relation#types"
- },
- "class":{
- "@id":"korap:class",
- "@type":"xsd:integer"
- },
- "query":"korap:query",
- "filter":"korap:filter",
- "meta":"korap:meta"
- },
- "query":{
- "@type":"korap:sequence",
- "shrink":"0",
- "operands":[
- {
- "@type":"korap:group",
- "class":"0",
- "operands":[
- {
- "@type":"korap:token",
- "@value":{
- "@type":"korap:term",
- "@value":"base:foo",
- "relation":"="
- }
- }
- ]
- },
- {
- "@type":"korap:token",
- "@value":{
- "@type":"korap:term",
- "@value":"orth:bar",
- "relation":"="
+ "@context": {
+ "@language": "de",
+ "class": {
+ "@id": "korap:class",
+ "@type": "xsd:integer"
+ },
+ "filter": "korap:filter",
+ "korap": "http://korap.ids-mannheim.de/ns/query",
+ "meta": "korap:meta",
+ "operands": {
+ "@container": "@list",
+ "@id": "korap:operands"
+ },
+ "query": "korap:query",
+ "relation": {
+ "@id": "korap:relation",
+ "@type": "korap:relation#types"
+ }
+ },
+ "query": {
+ "@type": "korap:group",
+ "operands": [
+ {
+ "@type": "korap:sequence",
+ "operands": [
+ {
+ "@type": "korap:group",
+ "class": "0",
+ "operands": [
+ {
+ "@type": "korap:token",
+ "@value": {
+ "@type": "korap:term",
+ "@value": "base:foo",
+ "relation": "="
+ }
+ }
+ ]
+ },
+ {
+ "@type": "korap:token",
+ "@value": {
+ "@type": "korap:term",
+ "@value": "orth:bar",
+ "relation": "="
+ }
+ }
+ ]
}
- }
- ]
- }
+ ],
+ "relation": "shrink",
+ "shrink": "0"
+ }
}