SolidOS / SolidOS/solid-ui

Allow any form field to be represented by reverse arc in the graph

Open
#276 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
153
Forks
46
Avg merge
1d 8h
Merged PRs (30d)
7

Description

All the form fields at the moment assume that they are given a subject X and a predicate P and the form will write a quad (X, P Y, G).

In fact, when not dealing with literals for Y, RDF is symmetrical: it is just as reasonable for them to correspond to the data (Y, P, X, G). So we need to be able to specify in a form, that a given field is in the inverse direction.

Examples:

  • When a user is a member of a group, the triple (user, member, group) could turn up in a form about the user - or a form about the group.

  • In a family tree user interface form, the same form could allow adding a number of (this, child, Y) triples to list one's children, and also a set of (Y, child, this) triples for giving ones parents.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the TypeScript form-field implementation that currently writes subject–predicate–object quads, and inspect how fields are configured and tested. Define how a field selects the inverse direction, then verify that both forward and reverse relationships can be displayed and written for the membership and family-tree examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.