def get_dataset_prov(client, dataset):
    """Get dataset provenance.

	Args:
	    :client: the pyAMI client [ pyAMI.client.Client ]
	    :dataset: the dataset [ str ]

	Returns:
	    a map of python dictionnaries. The key "node" gives a list of dataset with the distance to the given dataset and the key "edge" gives the list of successive pairs of input an output datasets.
	"""
    command = ['AMIGetDatasetProv', '-logicalDatasetName="%s"' % dataset]
    result = client.execute(command, format='dom_object')
    return {'node': result.get_rows('node'), 'edge': result.get_rows('edge')}
