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

@theferrit32

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions