Test for correct behaviour of unresolved query references
Change-Id: I4b5ccc3145a87d5609dc235733db0fd85e866030
diff --git a/src/test/resources/queries/queryref2.jsonld b/src/test/resources/queries/queryref2.jsonld
new file mode 100644
index 0000000..ade1992
--- /dev/null
+++ b/src/test/resources/queries/queryref2.jsonld
@@ -0,0 +1,29 @@
+{
+ "@context" : "http://ids-mannheim.de/ns/KorAP/json-ld/v0.1/context.jsonld",
+ "query" : {
+ "@type" : "koral:group",
+ "operation" : "operation:sequence",
+ "operands" : [
+ {
+ "@type" : "koral:token",
+ "wrap" : {
+ "@type" : "koral:term",
+ "foundry" : "tt",
+ "key" : "NN",
+ "layer" : "p"
+ }
+ },
+ {
+ "@type" : "koral:queryRef",
+ "ref" : "admin/example"
+ },
+ {
+ "@type" : "koral:token",
+ "wrap" : {
+ "@type" : "koral:term",
+ "key" : "Baum"
+ }
+ }
+ ]
+ }
+}