Fork me on GitHub
#releases
<
2023-02-19
>
quoll01:02:15

https://github.com/quoll/raphael 0.1.2 has been released. Raphael is a library for reading RDF/TTL files. This release has a minor improvement: • predicate-object lists may now be terminated with a trailing ; character (this is strictly illegal according to the Turtle grammar) • object lists may now be terminated with a trailing , character (this is also illegal in the grammar)

🎉 4
🐢 2
timo11:02:29

Kowabunga

lilactown18:02:14

I'm curious why you split the reading and writing between two libs. It seems like (just guessing, haven't used RDF or TTL in anger) that I would want to be able to round trip CLJ->RDF->CLJ and other permutations, which would make me think that having them in the same lib would help with testing that

quoll23:02:09

While they are conceptually paired, the operations have nothing to do with each other. I was thinking about how they would both fit into Asami, and realized that while the parser is needed (and I plan to put it in) the writer really isn’t. The writer (Donatello) is a library for taking Clojure data structures, and writing them out as syntactically correct TTL. However, Asami isn’t really that. It’s a graph. Conversely, the parser is for converting TTL into triples (which represent a graph), rather than Clojure data structures. So they’re not quite symmetrical

quoll23:02:54

You could go from a graph, to TTL via Donatello, and then back to a graph via Raphael. But if you started with a TTL document and took it to a graph and back to TTL, then you’d have a completely different looking file.

borkdude12:02:03

https://github.com/babashka/cli: turn Clojure functions into CLIs! v0.6.46 (2023-02-19) • https://github.com/babashka/cli/issues/58: implicit true should not be transformed to string value

🎉 4