How to mapping data using gsql

Data mapping in tigerstudio:click the target vertex type circle or edge type link. A dashed link will appear between the data file and the target vertex or edge type

but
how to mapping data with gsql?

Could you please be more specific on why we need to map a data file to gsql?

Do you want to ingest the data from gsql or you want to import a query file to the TigerGraph system?

Thanks.

you can use gsql loading language to map csv or json file formap to graph schema.

http://docs.tigergraph.com/dev/gsql-ref/ddl-and-loading/creating-a-loading-job

the loading job once created, can be invoked both online or offline.