code: def add(self, (s, p, o), context, quoted=False):
          
          assert isinstance(s, Identifier)
          assert isinstance(p, Identifier)
          assert isinstance(o, Identifier)
          assert not quoted
  
          named_graph = _get_named_graph(context)
  
          query_set = _get_query_sets_for_object(o)[0]
          query_set.get_or_create(
              subject=s,
              predicate=p,
              object=o,
              context=named_graph,
              )
docs: Adds a triple to the store.
  
          >>> from rdflib.term import URIRef
          >>> from rdflib.namespace import RDF
  
          >>> subject = URIRef('http://zoowizard.org/resource/Artis')
          >>> object = URIRef('http://schema.org/Zoo')
          >>> g = rdflib.Graph('Django')
          >>> g.add((subject, RDF.type, object))
          >>> len(g)
          1