def validate(self):
log.info("<STR_LIT>"<EOL>.format("<STR_LIT:->" * <NUM_LIT:100>, self.schema_def.__class__.__name__))<EOL>if not self.schema_def:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self.checked_attributes = []<EOL>result = ValidationResult(self.allowed_namespaces[<NUM_LIT:0>],<EOL>self.schema_def.__class__.__name__)<EOL>for subject, predicate, object_ in self.graph:<EOL><INDENT>log.info("<STR_LIT>"<EOL>.format(subj=subject, pred=predicate,<EOL>obj=object_.encode('<STR_LIT:utf-8>')))<EOL>result.add_error(self._check_triple((subject, predicate, object_)))<EOL><DEDENT>return result<EOL>
Iterate over all triples in the graph and validate each one
            appropriately