(pronounced g-raffl, but also derived from the Bavarian word "Graffl" meaning "stuff" or "junk")
Summary
graffl is a (still) experimental RDF scratch pad file format. Its purpose is to write something down that is immediately understood as graph data. No annoying syntax like dots or commas is required. Think of it as Markdown for RDF.
For example, the following graffl graph:
Alice likes -> Bob
written as Turtle:
@prefix ns1: <https://www.hedenus.de/graffl/76a04f61-342e-11f1-a289-e08f4ccbe174/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
ns1:Alice rdfs:label "Alice" ;
ns1:likes ns1:Bob .
- It allows nested graphs!
- It supports modeling with RDFSchema, OWL and SHACL
- The parser is implemented as an extension for rdflib
- The file format is used by rdf2graphml
See also the documentation on Github Pages!
CLI
The CLI command graffl converts one or more *.graffl files to TriG:
graffl [-h] [-V] [-o OUTPUT] [-v] [-d INPUT_DIR] [input_files ...]
The produced RDF is merged in one dataset. You can separate the graphs using the @context directive.
If no output is specified, the result is printed to standard output.
Metadata
Release files for graffl 0.9.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| graffl-0.9.7.tar.gz | 4.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| graffl-0.9.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.2 MB
Release files / graffl-0.9.7.tar.gz
| Download URL | graffl-0.9.7.tar.gz |
|---|---|
| Size | 4.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3dbc2e8ed5f94504ffca0c1dbbe8d9d09e39e0687b10c7b326afd3cef1862d70
|
|
BLAKE2b-256 checksum How to use checksums |
126fe5b14ece48d34a1939e54d430341d12babaa4f55027d3c7efba4077afce4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.0
|
Release files / graffl-0.9.7-py3-none-any.whl
| Download URL | graffl-0.9.7-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04012dd757991108b49a1ed04183def45b9f7254eb6a086fa8c2d5a4f533945c
|
|
BLAKE2b-256 checksum How to use checksums |
047bc1999e6c820a0778365fd212f9f8e7497d0498f7e82f217a9c5bf2080bfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.0
|