Skip to main content

RDF scratch file.

Project description

graffl Logo

(pronounced g-raffl)

graffl is an (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.

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 also supports nesting graphs, which is very useful for layouting. See the src/graffl/graffl.lark file for the EBNF grammar.

The parser is implemented as extension for rdflib: https://github.com/rdflib/rdflib

The file format is used by rdf2graphml: https://github.com/mhedenus/rdf2graphml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graffl-0.4.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graffl-0.4.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file graffl-0.4.1.tar.gz.

File metadata

  • Download URL: graffl-0.4.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for graffl-0.4.1.tar.gz
Algorithm Hash digest
SHA256 ad8c99bbb2b353cf7045deeb75e154e7a1bf253e86bb7dd40918b3b934fa296a
MD5 6acb6ae3fc4256dd94c6576af2e0c32d
BLAKE2b-256 9e66c02ab0d58f5ab48e1790907b6fb7cddacfc42ea4da988fb01fabe0ec66d6

See more details on using hashes here.

File details

Details for the file graffl-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: graffl-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for graffl-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5be583a645db27980858f81eda0c03d5d19b36097910b4eebcbbaba9df5d4ba
MD5 0e029bda827f3cf65536fe8e640d076b
BLAKE2b-256 7fcf98bb036bcccab0fd6eaef1c292414e04f318ef904586040b4bfea8e85fb7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page