1. An apparatus for managing and inferencing contexts and contextual relationships comprising: an interface for defining and querying about contextual relationships; a context engine, coupled to receive and process requests from the interface; and an ontology manager adapted to interpret ontology semantics and answer queries about contextual relationships.