How best to parallel-processing such types of multiple similar query tasks?
Any example available?
You should search for how to run processes/commands in parallel in whatever client-side execution environment you want to use. There isn't anything specific to PostgreSQL here.