annis query serialization integration
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java b/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
index ec32fcb..9356b2d 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
@@ -140,6 +140,8 @@
             } else if (ql.toLowerCase().equals("cql")) {
 //                queryLanguageVersion = "1.2"; // set me
                 ast = new CQLTree(query, version);
+            } else if (ql.toLowerCase().equals("annis")) {
+                ast = new AqlTree(query);
             } else {
                 throw new QueryException(ql + " is not a supported query language!");
             }