Lying requires intent. For example, if I did not follow the US elections, thought that the President was still Barrack Obama and someone asked me who the President was and I said 'Barrack Obama', I would be wrong, but most people would not insist that I am lying. Lying is a moral statement about a person or an organization. The truth or untruth is largely secondary.