Shiloh Alleyne
unread,May 20, 2026, 8:52:35 AMMay 20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Linked Art
Hi All!
I've been working on a JSONLD compiler/validator in Haskell, as a means of getting myself more familiar with the format of linked art. The compiler works by parsing the JSON of a piece of Linked art into a statically typed Abstract Syntax Tree (AST). The types of the AST themselves ensure popper JSON construction.
Since we are using a tree based representation for JSON, it is relatively easy to implement a merging operation between the trees. Currently the strategy for merging is to merge on the most nested Context with a highest Similarity Score. If a less nested Context has a significantly (more than 10%) higher similarity score, then it is chosen for merging instead. If there are no Context in common then an array of the separate JSON is returned.
My question is simply, if this a good approach and reflective of how you handle linked art or not.
Also if you have any particularly complex pieces of linked art JSON I could stress test against then I would appreciate you sharing them with me!
Cheers,
Shiloh