Make relationshipsamong datakitab, databab, tema and had