Skip to main content

Preparing your system

In this section you will learn how to prepare your system to open and edit graph files.

data.world’s catalog graph, including the metadata profile (MDP), is written in an RDF syntax called Turtle. Turtle files have the extension .ttl. Any files you add to your Catalog Configuration Dataset (ddw-catalogs) must have this file extension to be ingested and applied correctly.

Important

Check the file extension

Windows: Check the “File name extensions” option for File Explorer.

Mac: In Advanced Finder Preferences, enable the “Show all file name extensions” option.

Downloading .ttl files

When you download a .ttl file your computer may prompt you that it does not have an application to view this type of file. You can manually open Turtle files in any plain text editor (most computers include a pre-installed text editor) or use a specialized code editor.

Working with .ttl files

With a simple text editor 

You can use a simple text editor to create or modify Turtle in plain text - meaning, you cannot modify the file with rich text or any formatting.

By default, text editors may add the .txt extension when you save a file. You can rename the file by replacing the .txt extension with .ttl. To save directly as a Turtle file, follow these instructions:

Windows

Microsoft offers Notepad preinstalled on all Windows computers. Notepad only offers plain text editing. To save a Notepad file with the .ttl extension:

  1. From the Save As dialog box, in the type list, click All Files

  2. Enter a file name ending with the .ttl extension.

  3. Click Save to confirm.

Mac

TextEdit ships with all Mac operating systems. TextEdit has both a rich text and plain text option that can be toggled from the Format tab. Alternatively, to set up TextEdit to save .ttl files:

  1. Set the default type to “plain text” on the New Document tab of TextEdit preferences

  2. On the Open and Save tab, uncheck the “Add .txt extension”

  3. Add the .ttl extension to the file name when you save the file.

With a specialized code editor

Alternatively, you can work with Turtle files in a specialized code editor such as Visual Studio Code, which is available via browser or desktop application.

This type of editor can open and save .ttl files directly. VSCode also has a Turtle Language Server extension for desktop versions which includes helpful syntax highlighting and line numbering.

This section covers how to prepare your system to open and edit Turtle files. This enables you to follow along the MDP tutorial using your own Turtle file.