code: def startGraph(self):
          
          g = r.Graph()
          g.namespace_manager.bind("rdf", r.namespace.RDF)    
          g.namespace_manager.bind("foaf", r.namespace.FOAF)    
          g.namespace_manager.bind("xsd", r.namespace.XSD)    
          g.namespace_manager.bind("opa", "http://purl.org/socialparticipation/opa/")    
          g.namespace_manager.bind("ops", "http://purl.org/socialparticipation/ops/")    
          g.namespace_manager.bind("wsg", "http://www.w3.org/2003/01/geo/wgs84_pos#")    
          g.namespace_manager.bind("dc2", "http://purl.org/dc/elements/1.1/")    
          g.namespace_manager.bind("dc", "http://purl.org/dc/terms/")    
          g.namespace_manager.bind("sioc", "http://rdfs.org/sioc/ns#")    
          g.namespace_manager.bind("tsioc", "http://rdfs.org/sioc/types#")    
          g.namespace_manager.bind("schema", "http://schema.org/")
          g.namespace_manager.bind("part", "http://participa.br/")
          self.g=g
docs: Starts RDF graph and bing namespaces