In this paper, a novel cognitive engine for Wireless Sensor Networks (WSN) is proposed in order to achieve its end-to-end goals. This engine is designed using the tool known as Weighted Cognitive Maps (WCM). WCMs have the advantage of being able to consider multiple conflicting objectives and constraints with low complexity. Their inference properties also allow them to resolve complex network interactions using simple mathematical operations. Methods for designing the WCM system are illustrated. The performance of the proposed system is evaluated using computer simulations. Simulation results show that the WCM system outperforms its existing counterparts in metrics of network lifetime, throughput, and PLR.