Ok, I think it's time to announce a project I've been working on for quite some time (started a bit less than a year ago): a #guile implementation of #jsonld 1.1 (expansion, compaction and flatten algorithms).
And since I haven't implemented the to-RDF and from-RDF algorithms yet, last week I started a small implementation of #RDF that I will use later:
With type definitions, a turtle parser and semantics operations!
And I just added a N-Quads parser to guile-rdf, needed to run the rdf tests of jsonld
@roptat This is really good news👏 👏 . I wish more of the web were linked data :)
@vk thank you :) my next goal (apart from finishing the implementation with the toRdf, fromRdf and framing algorithms) is to use it to implement activitystreams and activitypub (I know jsonld is not strictly required but it's more interesting that way), and convert my website to the fediverse before my current instance goes down. Will I manage to do it? :D
Oh great, thanks! I mostly need a parser for nquads anl turtle, and a way to compare two datasets. Your projects looks useful, I'll see if I can use it as a library instead of my implementation.
Oh I see. nomunofu is useful in the case the data is bigger than memory.
Comparing two datasets seems very complex. Good luck.
My rdf-dataset-isomorphic? does that already. It works well on the small graphs in the jsonld test suite.
@roptat what is the purpose of this work?
Le réseau social de l'avenir : Pas d'annonces, pas de surveillance institutionnelle, conception éthique et décentralisation ! Possédez vos données avec Mastodon !