Dear RDFLib community,

Please note the addition of the long turtle RDF serialization option (
g.serialize(format="longturtle")) in the 6.1.1 release of RDFLib (current).

This format is just turtle - parsable with an un-altered turtle parser -
but with more linebreaks and indentations than normal. The purpose of the
format is to better present RDF text data to version control systems such
as Git.

The motivation for the format is the realisation that many of us are using
Git and systems like BitBucket, GitHub and GitLab for RDF data version
control and that we also all use turtle as the main RDF text serialization.

An example of a long turtle serialized ontology is the TERN Ontology, made
by frequent RDFLib contributor Edmond is:

https://github.com/ternaustralia/ontology_tern/blob/master/docs/tern.ttl

This ontology is under active development and you can see longturtle doing
its thing in  GitHub diffs suc as
https://github.com/ternaustralia/ontology_tern/pull/137/files. It looks
like some enhancements could be made though, such as more determanisim on
the sorting of the serialization.

Any feedback on this format or on RDF text files and version control in
general would be great.

Thanks,

Nick
rdflib co-maintainer

-- 
http://github.com/RDFLib
--- 
You received this message because you are subscribed to the Google Groups 
"rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rdflib-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rdflib-dev/CAP7nqh2JBM6E905s_6ckLQ4FJi6tm_GQenr02evZtAMBMXfRtw%40mail.gmail.com.

Reply via email to