PGSW-OS: a novel approach for resource management in a semantic web operating system based on a P2P grid architecture