parser for queries (select-like syntax);
datalog_cli provides basic support for queries