def METHOD_NAME(self):
    # TODO: ttl output fails - check why
    # TODO: imports do not seem to work
    rdf = RDFGenerator(SCHEMA, mergeimports=True, format="nt").serialize()
    with open(RDF_OUTPUT, "w") as stream:
        stream.write(rdf)
    g = Graph()
    g.parse(RDF_OUTPUT, format="nt")
    self._check_triples(g)