def q(self, q, inputs=None, limit='<STR_LIT>', offset='<STR_LIT>', history=False):
if not q.strip().startswith("<STR_LIT:[>"): q = "<STR_LIT>".format(q)<EOL>args     = '<STR_LIT>' % dict(<EOL>store  = self.store,<EOL>db     = self.db,<EOL>hist   = '<STR_LIT>' if history==True else '<STR_LIT>',<EOL>inputs = "<STR_LIT:U+0020>".join(inputs or []))<EOL>data = {"<STR_LIT:args>":   args, <EOL>"<STR_LIT:q>":      q, <EOL>"<STR_LIT>": offset or '<STR_LIT>',<EOL>"<STR_LIT>":  limit  or '<STR_LIT>',<EOL>}<EOL>return self.rest('<STR_LIT:GET>', self.uri_q, data=data, parse=True)<EOL>
query