Not sure I understand, if you have data like that all your nodes are observed, and you wont have things to estimate as you have no unknown.
In general, to have dependency, you make sure the parameter of Grade
is some function (e.g., linear function like what you have above) of the output from Difficulty
and Intelligence
.