Parse RDF Turtle file and save to PostgreSQL

by

Want to parse RDF Turtle file and save to PostgreSQL ?

Try Withdata FileToDB, a RDF to PostgreSQL converter for Windows, MacOS, and Linux, Import RDF Turtle to PostgreSQL, Easy and Fast.

And support other RDF formats: RDF/XML(.rdf, .owl), N-Triples(.nt, .ntriples), N-Quads(.nq, .nq), JSON-LD(.jsonld).

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Convert files locally and privately, avoid uploading large RDF Turtle file(s) to online services.

Download Withdata FileToDB Download FileToDB

Import RDF Turtle file (.ttl, .n3) to PostgreSQL

Choose PostgreSQL and logon.

convert TTL file to PostgreSQL table - Choose PostgreSQL and logon

Click “Wizard – 1 File To 1 Table” at task dialog.

convert TTL file to PostgreSQL table - task window

Select the “RDF” file type.

Import file data to database table - select file type

then show the wizard.

1. Open RDF Turtle file.

import RDF Turtle file (.ttl, .n3) to PostgreSQL - open RDF Turtle file

2. Select table and config fields.

You can create new PostgreSQL table by RDF struct, just click create PostgreSQL table by RDF struct

Load RDF Turtle file (.ttl, .n3) to PostgreSQL - config PostgreSQL fields

3. Set rows options.

Transfer RDF Turtle file (.ttl, .n3) to PostgreSQL - summary

4. Import data from RDF Turtle file (.ttl, .n3) to PostgreSQL.

Convert RDF Turtle file (.ttl, .n3) to PostgreSQL - import to PostgreSQL

See importing results in PostgreSQL table

Store RDF Turtle file (.ttl, .n3) to PostgreSQL - view  PostgreSQL table

Convert RDF Turtle file (.ttl, .n3) to PostgreSQL in command line

Save “RDF to PostgreSQL” session, then you can:

Set scheduled tasks for converting RDF Turtle file (.ttl, .n3) to PostgreSQL

You can schedule and automate this importing task by:

  1. Save session and create .bat (Windows) or .sh (Linux/macOS) file for “RDF Turtle to PostgreSQL” conversion.
  2. Set scheduled task for “RDF Turtle to PostgreSQL” conversion.

FAQ


More about Withdata FileToDBTTL to PostgreSQL converter