Developing an expert database and a reference database in GTTN