Text this: Applying an Ontology to a Patrol Intrusion Detection System for Wireless Sensor Networks