> ## Documentation Index
> Fetch the complete documentation index at: https://turingdb.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Load external data types

> Load external data types into a TuringDB graph

We provide different ways to load external data into a TuringDB graph. As for now, the following format can be imported to a TuringDB graph:

* `jsonl`
* `gml`

To be able to import external files into a TuringDB graph, they have to be saved into the `data` subdirectory in the TuringDB directory: `-turing-dir` flag when you run `turingdb` (by default is `$HOME/.turing`).

> [tab] Cypher
>
> Load a `jsonl` file as a TuringDB graph:
>
> ```jsx theme={null}
> LOAD JSONL 'myjsonl.json' AS mygraph
> ```
>
> Load a `gml` file as a TuringDB graph:
>
> ```jsx theme={null}
> LOAD GML 'mygml.gml' AS mygraph
> ```

> [tab] Python SDK
>
> Load a jsonl file as a TuringDB graph:
>
> ```python theme={null}
> client.query("LOAD JSONL 'myjsonl.json' AS mygraph")
> ```
>
> Load a gml file as a TuringDB graph:
>
> ```python theme={null}
> client.query("LOAD GML 'mygml.gml' AS mygraph")
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.