TEXT FORMAT ★
ddot.it logo

ddot.it

Just https://ddot.it

ddot.it is a minimal, human-writable text syntax for typed knowledge graphs, created and maintained by Calpano (the same author behind the graphinout.com converter and the connected-json project, Connected JSON). Rather than defining a standalone document format with headers or brackets, ddot.it is designed to be sprinkled directly into existing files and prose. Reader implementations exist for Markdown, AsciiDoc, HTML, XML, YAML, Java, plain text, PowerPoint, web pages, and email, so the same triples can live inline wherever the source content already lives.

The data model is triples of subject, predicate, and object. The core line is written aaa .. bbb.. ccc, meaning subject aaa has relation bbb to object ccc; the double-dot .. separators are the only structural markers. An untyped link uses four dots, aaa .... ccc. Consecutive statements about the same subject can drop it and begin with ..bbb.. ccc, and per-statement metadata is appended after a double comma `

File Extensions: .ddot.ddot.txt
FeatureJust https://ddot.it
Nodes supported
Undirected Edges not supported
Directed Edges supported
Parallel Edges supported
Self-loops supported
Edge Labels supported
Attributes on Nodes supported
Typed Edges supported

Tools(Read & Write)

Frequently Asked Questions

What is a `.ddot` file?

A .ddot file is a text file that describes a knowledge graph. It contains https://ddot.it syntax. That syntax can also be used within Markdown, AsciiDoc or other file formats. It can even be used in Java source code comments, in Office slide notes or in HTML comments or text.

Is a `.ddot` file the same as a `.dot` file?

Not at all! A DOT file describes a visual graph and is interpreted by graphViz. A ddot (double-dot) file states a knowledge graph. A knowledge graph can be queried, run inference rules, and can additionally be visualized. It operates on a higher layer than a DOT file.

Where can I learn more about the ddot.it format?

The ddot.it format is described in detail at https://ddot.it.