solid / solid/data-interoperability-panel
Define usage of Shape Path for Data Grant with InheritInstances scope
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 58
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
#130 uses viaPredicate to express predicate which directly relates parent to a child, we use it for inherited access.
I will link this issue inline in the primer to track changing it to st:viaShapePath.
Currently to find all Data Instances of child resources, we do following:
- Each Data Grant is associated with specific ShapeTree (eg. Project, Task etc.)
- Starting from child Data Grant with
InheritInstancesscope (eg. Tasks), followinterop:inheritsFromGrant#124 - We get parent Data Grant with scope
AllInsancesorSelectedInstances(eg. Projects) - For each instance of parent (eg. Project)
- Find and fetch ReferencesList for children matching ShapeTree of child Data Grant (there will be separate ReferencesList for each referenced child ShapeTree in parent ShapeTree).
- In the ReferencesList find references to all child Data Instances
I think in 3.1 we should be able to do it purely based on child ShapeTree if we include that information in ReferencesList description (partially embedded in each parent Data Instance). In 3.2 we would need to use Shape Path to get references of children. We would also need to consider how based on that Shape Path relevant statements get added to ReferencesList.
@ericprud @justinwb
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading issue #130, issue #124, and the primer reference mentioned in the issue. Trace how viaPredicate, st:viaShapePath, InheritInstances, and ReferencesList are currently described, then establish the agreed Shape Path usage and update the relevant primer or specification text when the semantics are settled.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100