Querying, Training and Editing Datasets with Data Lineage

How to use queries and version control while training models.