TripleText
Convert from TripleTextto any other format
TripleText is a minimal, line-oriented plain-text notation for expressing typed graphs and knowledge bases as triples. It is the syntax behind the ddot.it project (see ddot.it) created by Calpano, the same author as the Connected JSON family, and is used by the graphinout.com toolchain as a human- and AI-friendly on-ramp for authoring connected data. Rather than defining its own document container, TripleText reduces a graph to a stream of subject–predicate–object statements written one per line, which a reader accumulates into a single in-memory knowledge base.
The core construct is the typed triple "aaa .. bbb.. ccc", where the doubled-dot delimiter separates a subject, a link/property type, and an object or literal value. When the relationship type is irrelevant, the shorthand "aaa .... ccc" expresses a simple, untyped link between two nodes. Consecutive lines that begin with ".." (for example "..bbb.. ccc") append further predicates to the most recently named subject, avoiding repetition. Optional per-statement metadata is attached after a double-comma "
| Feature | TripleText Format |
|---|---|
| Multiple Graphs per Document | |
| Nodes | |
| Undirected Edges | |
| Directed Edges | |
| Parallel Edges | |
| Self-loops | |
| Node Labels | |
| Edge Labels | |
| Attributes on Nodes | |
| Attributes on Edges | |
| Typed Edges | |
Read-only Tools
Frequently Asked Questions
What is a TripleText Format file?
A TripleText Format file stores a graph — its nodes, edges and attributes — in the TripleText Format format. See the feature table above for what it supports.
How do I open a TripleText Format file?
Open it in a graph tool that supports TripleText Format, or convert it to a format your tool reads. With GraphInOut you can convert TripleText Format to GraphML, DOT, Connected JSON and more, right in your browser.
How do I convert a TripleText Format file to another format?
Use the Convert from TripleText Format link above: upload or paste your TripleText Format file (input preset to TripleText Format), choose a target format and download the result — free, no install.