TuringDB home pagelight logodark logo
  • Discord
  • GitHub
  • Website
TuringDB

Get Started

  • Introduction
  • Get Started
  • Claude Code Skill
  • Commands

Concepts

  • Overview
  • A Columnar Graph Database
  • Versioning System
  • The DataPart System
  • Zero-Locking Architecture
  • Snapshots Isolation

Benchmarks

  • Results Summary
  • Technical Report

Query Language

  • Query Language
  • CheatSheet

Importing data

  • JSONL
  • CSV
  • Neo4j
  • GML
  • Parquet

Graph Development

  • Create Graph
  • Load Graph
  • Load External data
  • Create a Change
  • List Changes
  • Create Nodes and Edges
  • Update Properties
  • Submit a Change
  • Time Travel
  • Graph Examples

Vector Search

  • Vector Search

Graph Algorithms

  • Shortest Path

Tutorials

  • Example Notebooks

Python SDK

  • Get Started
  • Reference

Troubleshooting

  • Troubleshooting
Graph Development

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).

  • Cypher
  • Python SDK

Load a jsonl file as a TuringDB graph:

LOAD JSONL 'myjsonl.json' AS mygraph

Load a gml file as a TuringDB graph:

LOAD GML 'mygml.gml' AS mygraph

Load a jsonl file as a TuringDB graph:

client.query("LOAD JSONL 'myjsonl.json' AS mygraph")

Load a gml file as a TuringDB graph:

client.query("LOAD GML 'mygml.gml' AS mygraph")
Load GraphCreate a Change
githublinkedinyoutubediscord