docs: def parse_rdf_payload(self, data, headers):
  
  		'''
  		small function to parse RDF payloads from various repository endpoints
  
  		Args:
  			data (response.data): data from requests response
  			headers (response.headers): headers from requests response
  
  		Returns:
  			(rdflib.Graph): parsed graph
  		'''
  
  		# handle edge case for content-types not recognized by rdflib parser
  		if headers['Content-Type'].startswith('text/plain'):
  			logger.debug('text/plain Content-Type detected, using application/n-triples for parser')
  			parse_format = 'application/n-triples'
  		else:
  			parse_format = headers['Content-Type']
  
  		# clean parse format for rdf parser (see: https://www.w3.org/2008/01/rdf-media-types)
  		if ';charset' in parse_format:
  			parse_format = parse_format.split(';')[0]
  
  		# parse graph
  		graph = rdflib.Graph().parse(
  			data=data.decode('utf-8'),
  			format=parse_format)
  
  		# return graph
  		return graph