Architecture for Contextual Knowledge