Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Add a way to more easily generate a JSON-LD context from a set of keywords+prefixes #654

Description

@theferrit32

We can look them up in property-names.edn and namespaces.edn. Should reduce duplicate definition of what terms are and how they should be expanded/compacted.

A function should be able to produce a keywordized jsonld-esque map structure (using genegraph's class/property keywords), and the caller should be able to, without knowing the details about what the map contains:

  • serialize to plain JSON
  • generate a JSON-LD context to attach to the plain JSON
  • expand and compact the JSON using this context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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