Naive Bayesian Learning from Structural Data