An Ontology-Driven Framework for Security and Resiliency in Cyber Physical Systems