docs: def add_sparql_line_nums(sparql):
      """
      Returns a sparql query with line numbers prepended
      """
      lines = sparql.split("\n")
      return "\n".join(["%s %s" % (i + 1, line) for i, line in enumerate(lines)])