Applying an Ontology to a Patrol Intrusion Detection System for Wireless Sensor Networks. (6th January 2014)