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.0.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.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: graffl-0.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f86e337d7472e5b71b14f618cc936e644b77f9430fb982149bf8b767704be23f
MD5 326d112c4104938c93f64225d53b2bcd
BLAKE2b-256 c4ab2da91193e7a7aa1b9b5885ef5de90079002c2de0f12a8ffc6ca562a489b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graffl-0.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8e2897205c4f69b05a92eaf929e00f0d5f113e3b2ca95c99d9f3136991a7b9d
MD5 443affd6c174987ca55a41135172fdea
BLAKE2b-256 4c0ce78a8fdc2c75c6bcc5cca009d2d778a5c7d44d088ef61030e8cb11df286e

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