def addN(self, quads):
        """Add a sequence of triple with context"""

        self.store.addN(
            (s, p, o, c) for s, p, o, c in quads
            if isinstance(c, QuotedGraph)
            or c.identifier is self.identifier
            and _assertnode(s, p, o)
            )
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/QuotedGraph.addN/operator `and` -> `or`