         } else if printTokens {
             try parseTokens(qfile, silent: silent)
         } else {
-            try parseQuery(qfile, silent: silent)
+            try parseQuery(qfile, simplify: simplify, silent: silent)
         }
         //print("ok")
     } catch SerializationError.parsingError(let message) {

        printTokens = true
    } else if next == "-p" {
        pretty = true
    }
}


    exit(xr)
} catch {}

let sr = try parseSPARQL(qfile, printTokens: printTokens, pretty: pretty, simplify: simplify, silent: silent)
exit(sr)
