Hex.pmHex DocsLicense

ExUnit TestsQuality Checks


Logo

Ontogen

A version control system for RDF datasets
Explore the docs »

Changelog · Report Bug · Request Feature · Discussions

About the Project

Ontogen is a Data-Control-Management (DCM) solution specifically designed for RDF dataset in SPARQL triple stores. It provides version control capabilities similar to Git, but tailored for RDF datasets. Ontogen stores the version history of statements in a dedicated named graph within the RDF dataset completely separated from the actual data, much like the .git directory in a Git repository.

Key features of Ontogen include:

Ontogen takes a holistic approach to RDF data versioning by considering not just the syntactical and semantical levels, but also the pragmatic layer of the semiotic spectrum.

Getting Started

Note for end users: This is the core library, which can be used to integrate Ontogen into your Elixir apps. If you're looking to use Ontogen as a command-line tool, please check out the Ontogen CLI repository. The CLI provides a user-friendly interface for Ontogen functionality.

Prerequisites

To use Ontogen, you'll need:

Installation

Add Ontogen to your list of dependencies in mix.exs:

def deps do
  [
    {:ontogen, "~> 0.1"}
  ]
end

Then run:

$ mix deps.get

Usage

Here's a basic example of how to use Ontogen with its CLI:

$ mkdir example
$ cd example

$ og init --adapter Oxigraph
Initialized empty Ontogen repository in /Users/JohnDoe/example

$ og setup
Set up Ontogen repository

$ og add data.ttl

$ og commit --message "Initial commit"
[(root-commit) 6fc09c94768204983d0409d28e0796ec3f17cef46e57c5cb1248424d3922040d] Initial commit
 3 insertions, 0 deletions, 0 overwrites

$ og log --changes
ec8108e3f4 - Initial commit (just now) <John Doe john.doe@example.com>
   <http://www.example.org/employee38>
 +     <http://www.example.org/familyName> "Smith" ;
 +     <http://www.example.org/firstName> "John" ;
 +     <http://www.example.org/jobTitle> "Assistant Designer" .

For more examples, please refer to the User Guide

Roadmap

See the open issues for a full list of proposed features (and known issues).

Contact

Marcel Otto - @marcelotto@mastodon.social - @MarcelOttoDE - marcelotto@gmx.de

Acknowledgments

NLnet Foundation LogoNGI Assure LogoJetBrains Logo

This project is funded through NGI Assure, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program.

JetBrains supports the project with complimentary access to its development environments.

License

Distributed under the MIT License. See LICENSE.md for more information.