Robot self-awareness: Temporal relation based data mining