Comments (3)
TL;DR: A Collection Element is a peer of other Elements at both the logical and physical levels.
Discussion:
A logical model defines associations between types - all logical types (including Element) may be associated with other types, and the nature of the association is a semantic label, not a data structure.
An information model defines data structures, and there are only two kinds of association between data types: contain and reference. For example the members of a list are serialized in a document as either values or references to values, and the information model must specify which.
The SPDX logical model defines the semantics of Collection as an Element that has 0..* "element" Elements and 0..* "rootElement" Elements. Unlike "describes", "contains" or "depends_on", "element" is an anodyne association label that means nothing more than "member" of the collection. At the logical level no Element contains another Element; all Elements are peers.
A formal SPDX information model, or the prose of an SPDX specification and example data, could show Collection as a list of Element values or Element ids. The disadvantage of requiring Collection to be a list of values is that no Element can be a member of more than one collection, or its data must be copied into every collection of which it is a member.
Position:
- The data representing a Collection must be a set of Element IDs (references), not a set of (contained) Element values.
- A Collection Element listing the elements in an SPDX document may optionally be included within that document, but serves no purpose.
- A Collection Element listing the elements in an SPDX document may optionally be included in a different document, serving as an index of the referenced document.
from spdx-3-model.
Is this issue still relevant for the 3.0 release? The only point I see that does not align with the current model is the topic of having a list of elements vs a list of references to those elements. But relationships and annotations also have properties of range Element (to
and subject
, respectively), so this would affect them, too?
from spdx-3-model.
@iamwillbar - am closing this issue for now. Please reopen if you disagree.
from spdx-3-model.
Related Issues (20)
- In page https://spdx.github.io/spdx-spec/v3.0/model/Licensing/Licensing/ the lists are not displayed correctly. HOT 3
- Doc: Possible outdated references to gh-pages and auto-generated in README.md HOT 2
- Delete gh-pages for the spdx-3-model
- License list version is still not SemVer HOT 5
- Does the specVersion include a PATCH version?
- ProfileIdentifierType list HOT 1
- What does "IRI ``" mean? HOT 6
- Have Markdown lint runs after commit HOT 1
- 3.1: Dataset: Add a "language" field
- rootElement: SBOM or BOM? HOT 1
- Where are the SPDX Matching Guidelines? HOT 6
- Where is the "Legacy Text Template format section"? HOT 2
- Vocabulary entries should be single-line
- AI: Not clear what 'energyQuantity' means HOT 5
- AI: 'energyConsumption', 'finetuningEnergyConsumption', 'inferenceEnergyConsumption' would vary so is it correct to record them? HOT 1
- AI: hyperparameter, metric, metricDecisionThreshold - can be multiple. Property talks about only one. HOT 10
- AI: 'modelExplainability' summary and description should be modified HOT 2
- AI: 'trainingEnergyConsumption' is duplicate of 'energyConsumption' HOT 1
- AI: Need comprehensive strategy for addressing security related parameters for AI systems HOT 1
- Core: Need class 'Dictionary' for listing multiple key-value pairs HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spdx-3-model.