Add rdfs:label and skos:definition#150
Open
bact wants to merge 9 commits into
Open
Conversation
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Member
|
Unfortunately it's not that easy, since the "description" sections are in Markdown format, which means that they have be translated into a text only representation. |
Contributor
Author
|
Thank you. Just to clarify, since Markdown is also "text only" -- Do you mean specifically of removing the markups? |
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Contributor
Author
|
Few Markdown markups that may interfere human reading are now removed. See Notes in the PR description for details. This is also applied to New output: spdx-model.ttl.txt |
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR do
Implement #110 (Feedback from OMG - Item 5)
rdfs:label, use info from element's nameskos:definition, use info from summaryskos:note, use info from descriptionFollow examples from https://www.omg.org/spec/Commons/1.1/PDF
(From examples,
skos:scopeNotecould be used for conformance information - not yet implemented here)Output, with few Markdown markups removed: spdx-model.ttl.txt
Notes
Few Markdown markups are removed or transformed for readability.
Links are transformed
[The EPSS Model](https://www.first.org/epss/model)->The EPSS Model <https://www.first.org/epss/model>[Hash](../../Core/Classes/Hash.md)->Hash[parameter](parameter.md)->parameterInline code markups are removed
Code block markups are removed