Knowledge engineering in AI