The function `get_structure` builds an automatic query from the user inputed dataset but expects the DS to be a rucio DID. Other options should be added.