IMHO bringing SQL in is a bit of a stretch; I believe prepared statements are generally strict about their n-arity. Key systemctl commands accept lists of units as subjects of the command.
If we were using the SQL analogy, I'd say stored procs were closer.
If we were using the SQL analogy, I'd say stored procs were closer.