Skip to content

Metadata on recipe container? #19

@josephguillaume

Description

@josephguillaume

At the moment, when loading a recipe container there is no easy way of:

  1. knowing it contains recipes
  2. knowing the format used for the recipes
  3. enforcing or validating this format

I propose that Umai could add a triple to the container metadata:

<> rdf:type ex:RecipeContainer.

This would directly address (1), and allow (2) and (3) to be inferred.

Here are some alternatives:

  1. Using a shape tree assignment: in my opinion this would increase the barrier to interoperability due to its complexity - using a class is substantially simpler. The two could easily co-exist in future, with the shape tree being optional.

  2. Using existing type registrations: this is already more complex as it requires following the path ?container^solid:instance container!solid:forClass and checking that this is equal to schema:Recipe. In addition, it assumes that preferences have been loaded. This then means that it does not yet resolve the issue that when dereferencing the container, one doesn't know it contains recipes.

<#Recipes>
a solid:TypeRegistration; 
solid:forClass schema:Recipe;
solid:instanceContainer <https://example.com/private/cookbook/>.

Given the nature of Solid, it is of course possible for a user to use any of these solutions manually now already without Umai support, but Umai is the frontrunner and nicest product in this space, so it would be good to have Umai on board with any strategy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions