Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.88 KB

index.md

File metadata and controls

65 lines (43 loc) · 1.88 KB
layout
page

Graphmalizer

Turns datasets into a graph, deal with it.

Given some datasets.

documentdocumentdocument

Graphmalizer is thinking. Then:

document

A graph, same datapoints → same graph.

Parts.

We allow you to manage datasets. They are newline-delimited JSON files or CSV files. Each row or datapoint is considered to be a document. Every document has an identifier and a certain type.

document document1:A document2:A document3:P document4:P document5:A

You specifiy which types exist. Types can refer to things or relations between things. To each thing we associate a node and to each relation a edge.

For instance, we can say

type A ~ things of some distinguishing sort (called A) ~ thing

type P ~ relation of sort P, which runs between A × A ~ relation

Documents of a type corresponding to a relation (here 3:P,4:P) must specify a source and target identifier (referring to nodes of type A).

Note: If you leave out the id, we derive it from the type, source and target (details here).

For example

document document1:A document2:A documentP:2→5 documentP:1→2 document5:A

Will become

(1)---→(2)---→(5)

Or more precisely, using the cypher-pattern language.

(:A {id: 1}) -[:P]-> (:A {id: 2}) -[:P]-> (:A {id: 5})