In a food processor, combine cooked black beans, mashed sweet potato, green onions, oats, rice, cumin, paprika, garlic powder, onion powder, tamari, and the flax egg. Pulse until mostly combined but still slightly chunky for texture. Season with salt and pepper to taste.