the cedar ledge

RDF Data Storage Formats

Date: February 18 2022

Summary: Types of data storage formats available for RDF

Keywords: #rdf #formats #data #turtle #xml #storage #archive

Bibliography

W3C, "RDF 1.1 Concepts and Abstract Syntax." https://www.w3.org/TR/rdf11-concepts/ (accessed Feb. 18, 2022).

Table of Contents

    1. What Is the Turtle Format?
      1. What Is an Example of the Turtle Format?
    2. What Is the XML Format?
      1. What Is an Example of the XML Format?
  1. How To Cite
  2. References:
  3. Discussion:

There are many different file storage formats for RDF reified data.

What Is the Turtle Format?

The Turtle format (file extension .ttl) is one example of a storage format. It takes the following form:

<Subject> <Predicate> <Resource> .

What Is an Example of the Turtle Format?

If I have the statement:

The sky is colored blue.

That can be written in the form:

<sky> <is colored> <blue> .

What Is the XML Format?

Another example is utilizing the popular XML format for representing RDF data.

What Is an Example of the XML Format?

If I have the statement:

The sky is colored blue.

That can be written in the form:

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:j.0="http://some.fakeurl.com/fake/is " > 
  <rdf:Description rdf:about="sky">
    <j.0:colored rdf:resource="blue"/>
  </rdf:Description>
</rdf:RDF>

How To Cite

Zelko, Jacob. RDF Data Storage Formats. https://jacobzelko.com/02182022172731-rdf-file-formats. February 18 2022.

References:

Discussion:

CC BY-SA 4.0 Jacob Zelko. Last modified: November 24, 2023. Website built with Franklin.jl and the Julia programming language.