Using Graphs of Classifiers to Impose Declarative Constraints on Semi-supervised Learning