Skip to content

Unify terms to use in model-related code #392

@sdruskat

Description

@sdruskat

We should:

  • Decide on a fixed set of terms to use for specific model concepts, especially when talking about JSON-LD stuff.

We should then:

  • Refactor code to use the terms we agreed on.

I've read up a bit, and it seems that the following are as correct and precise as words can ever be, for all of our intents and purposes:

context

  • Semantically, the JSON-LD docs make it clear that in describing a thing (which is what we do), this description always has exactly one (abstract) context.
  • I propose that we use context for whenever we talk about the context of the description of a single thing that is being described in a publication with hermes.
  • Although a JSON-LD document can have multiple contexts, they cannot be nested (i.e., a context cannot be expressed as a direct child of another context). E.g., in this example in the JSON-LD docs, while the document has indeed multiple contexts (2), it contains descriptions for two rather than one thing.

vocabulary

  • The things that provide the definitions of the terms that are used to describe the thing-that-is-described (here: software) are vocabularies, not schemas, contexts, or something else. Again, the JSON-LD docs also use vocabulary. Schema.org says that schema.org is not intended as a universal ontology. We expect it to be used alongside other vocabulary that shares our basic datamodel and our use of underlying standards like JSON-LD, Microdata and RDFa., etc.

Others

We may have to talk about things like term, field, value, etc. as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    data modelRelated to the hermes data model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions