Skip to content

[feature ideas] JSON-LD #283

@a-teammate

Description

@a-teammate

Hey there, thanks for the awesome library you built there.

It will be a noob issue, and noob view I make here.
As a newbie to datalog, i have troubles modeling my data as triplets.

Usually I formulate my data as some kind of tree, then i figure where deduplication is necessary to make the things in the domain be consistent (and pull out things of the tree to glue them back together with IDs).

I don't like graphql and those, because they make me code all lookups/relations, which feel like a constant "hoping for the best".
But I like how it gives me a tree on the API level.

I like how cozodb works even for embedded deploys and the advanced features for all the fancy community detection and sorting algos (I want to generate "see also" sections in my UI, so this will come in handy. And other graph stuff).

Just because I struggle a bit with wrapping my head around cozoscript queries, is there any chance there could be something like https://json-ld.org/ for cozo?
Or do you maybe even an idea how that would map to a (lower-level) cozoscript API?
rdflib and pyld do this for python, but I want to get the cozodb graph algo goodies! :D
Or would it make more sense to use them on-top somehow?

Thank you very much, if you find the time to shed some light onto this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions