added some example queries + serializations
diff --git a/src/test/resources/queries/bsp2.json b/src/test/resources/queries/bsp2.json
index f97a4fd..b6b1bff 100644
--- a/src/test/resources/queries/bsp2.json
+++ b/src/test/resources/queries/bsp2.json
@@ -1,56 +1,56 @@
{
- "@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",
- "operands":[
- {
- "@type":"korap:group",
- "relation":"or",
- "operands":[
- {
- "@type":"korap:token",
- "@value":{
- "@type":"korap:term",
- "@value":"base:foo",
- "relation":"="
- }
- },
- {
- "@type":"korap:token",
- "@value":{
- "@type":"korap:term",
- "@value":"base:bar",
- "relation":"="
- }
- }
- ]
- },
- {
- "@type":"korap:token",
- "@value":{
- "@type":"korap:term",
- "@value":"base:foobar",
- "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:sequence",
+ "operands": [
+ {
+ "@type": "korap:group",
+ "operands": [
+ {
+ "@type": "korap:token",
+ "@value": {
+ "@type": "korap:term",
+ "@value": "base:foo",
+ "relation": "="
+ }
+ },
+ {
+ "@type": "korap:token",
+ "@value": {
+ "@type": "korap:term",
+ "@value": "base:bar",
+ "relation": "="
+ }
+ }
+ ],
+ "relation": "or"
+ },
+ {
+ "@type": "korap:token",
+ "@value": {
+ "@type": "korap:term",
+ "@value": "base:foobar",
+ "relation": "="
+ }
}
- }
- ]
- }
+ ]
+ }
}