Computationally and statistically efficient learning of causal Bayes nets using path queries