Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/filip26/linked-tree

An abstract data model to process Linked Data. Graphs are cool. Trees are easy. Think in graphs, work with trees.
https://github.com/filip26/linked-tree

json-ld linked-data rdf

Last synced: 19 days ago
JSON representation

An abstract data model to process Linked Data. Graphs are cool. Trees are easy. Think in graphs, work with trees.

Awesome Lists containing this project

README

        

![Data Model](/doc/linked-tree-data-model-v1.0.5.png)

# Linked Tree

Another abstract data model to process linked data, intended to be used for small datasets processed in real time as tree-like structures.

Influenced by JSON-LD expanded and flattened document forms. Linked tree terms and values are fully expanded but only identifiable node fragments are merged and flattened. Nodes with no identifiers are kept embedded.

The project is an experiment, please share feedback.

## Goals

* easily work with linked data programmatically
* fast intrinsic canonicalization
* finest processing granularity, i.e. a statement level
* translation from/into different representations (JSON-LD, RDF forms, CBOR-LD, etc.)
* language-agnostic

## Motivation
We like to think in graphs, and we like to map things to graphs, but then we prefer to work with trees.

Graphs are great to catch ideas, plans, and knowledge. There are many successful examples. A tree is a basic data structure. It's easy to work it programmatically, and there are many successful examples.

When it comes to software engineering, graphs are hard to work with, graphs are too generic and add unnecessary complexity to a domain limited use-cases.

Think in graphs, work with trees.