-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update URLs in serialization docs to 3.0.1 (#849)
Signed-off-by: Arthit Suriyawongkul <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,39 @@ | ||
# RDF serialization | ||
|
||
SPDX data can be serialized in RDF. This can be saved in a variety of formats, like XML, JSON-LD, Turtle, etc. | ||
SPDX data can be serialized in RDF. | ||
This can be saved in a variety of formats, like XML, JSON-LD, Turtle, etc. | ||
|
||
1. The namespace for SPDX v3 is `https://spdx.org/rdf/3.0.0/terms` | ||
1. The namespace for SPDX v3.0.1 is | ||
`https://spdx.org/rdf/3.0.1/terms` | ||
|
||
1. IRIs for a namespace/profile are of the form: `https://spdx.org/rdf/3.0.0/terms/{Namespacename}` | ||
1. IRIs for a namespace/profile are of the form: | ||
`https://spdx.org/rdf/3.0.1/terms/{Namespacename}` | ||
|
||
1. IRIs for a class are of the form: `https://spdx.org/rdf/3.0.0/terms/{Namespacename}/{Classname}` | ||
1. IRIs for a class are of the form: | ||
`https://spdx.org/rdf/3.0.1/terms/{Namespacename}/{Classname}` | ||
|
||
1. IRIs for a property are of the form: `https://spdx.org/rdf/3.0.0/terms/{Namespacename}/{Propertyname}` | ||
1. IRIs for a property are of the form: | ||
`https://spdx.org/rdf/3.0.1/terms/{Namespacename}/{Propertyname}` | ||
|
||
1. IRIs for a vocabulary (an enumerated value list) are of the form: `https://spdx.org/rdf/3.0.0/terms/{Namespacename}/{Vocabularyname}` | ||
1. IRIs for a vocabulary (an enumerated value list) are of the form: | ||
`https://spdx.org/rdf/3.0.1/terms/{Namespacename}/{Vocabularyname}` | ||
|
||
1. IRIs for an enumerated value are of the form: `https://spdx.org/rdf/3.0.0/terms/{Namespacename}/{Vocabularyname}/{Entryname}` | ||
1. IRIs for an enumerated value are of the form: | ||
`https://spdx.org/rdf/3.0.1/terms/{Namespacename}/{Vocabularyname}/{Entryname}` | ||
|
||
1. IRIs for an individual value list are of the form: `https://spdx.org/rdf/3.0.0/terms/{Namespacename}/{Individualname}` | ||
1. IRIs for an individual value list are of the form: | ||
`https://spdx.org/rdf/3.0.1/terms/{Namespacename}/{Individualname}` | ||
|
||
Please note that entries appearing in the | ||
[SPDX License List](https://spdx.org/licenses/) are not under this namespace! | ||
|
||
## Resources | ||
|
||
1. The ontology is available at: <https://spdx.org/rdf/3.0.0/spdx-model.ttl> | ||
1. The ontology is available at: | ||
<https://spdx.org/rdf/3.0.1/spdx-model.ttl> | ||
|
||
1. The JSON-LD context definition is available at: <https://spdx.org/rdf/3.0.0/spdx-context.jsonld> | ||
1. The JSON-LD context definition is available at: | ||
<https://spdx.org/rdf/3.0.1/spdx-context.jsonld> | ||
|
||
1. The JSON schema is available at: <https://spdx.org/schema/3.0.0/spdx-json-schema.json> | ||
1. The JSON schema is available at: | ||
<https://spdx.org/schema/3.0.1/spdx-json-schema.json> |