def dump(self,format='ttl'):

		'''
		Convenience method to return RDF data for resource,
		optionally selecting serialization format.
		Inspired by .dump from Samvera.

		Args:
			format (str): expecting serialization formats accepted by rdflib.serialization(format=)
		'''

		return self.rdf.graph.serialize(format=format).decode('utf-8')
def dump ( self , format = 'ttl' ) : return self . rdf . graph . serialize ( format = format ) . decode ( 'utf-8' )
Convenience method to return RDF data for resource,
		optionally selecting serialization format.
		Inspired by .dump from Samvera.

		Args:
			format (str): expecting serialization formats accepted by rdflib.serialization(format=)