Information retrieval based on dynamic constructed bayesian network