Generalized Nets, Relation Databases and Expert Systems