Skip to content

Commit 2510559

Browse files
authored
@context uses PID
1 parent df3d30a commit 2510559

File tree

1 file changed

+6
-3
lines changed
  • docs/profiles/0.5-DRAFT/process_run_crate

1 file changed

+6
-3
lines changed

docs/profiles/0.5-DRAFT/process_run_crate/index.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ The following diagram shows the relationships between provenance-related entitie
4040
<!-- Remember to update above as well as below! -->
4141

4242
```json
43-
{ "@context": "https://w3id.org/ro/crate/1.1/context",
43+
{ "@context": [
44+
"https://w3id.org/ro/crate/1.1/context",
45+
"https://w3id.org/ro/terms/workflow-run/context"
46+
],
4447
"@graph": [
4548
{
4649
"@id": "ro-crate-metadata.json",
@@ -400,13 +403,13 @@ The use case shown here is an example of a situation where it's important to ref
400403

401404
## Representing environment variable settings
402405

403-
The behavior of some applications may be modified by setting appropriate environment variables. These are different from ordinary application inputs in that they are part of the environment in which the process runs, rather than parameters supplied through a command line or a graphical interface. To represent the fact that an environment variable was set to a certain value during the execution of an action, use the `environment` property from the [workflow-run](https://github.com/ResearchObject/ro-terms/tree/master/workflow-run) ro-terms namespace, making it point to a `PropertyValue` that describes the setting:
406+
The behavior of some applications may be modified by setting appropriate environment variables. These are different from ordinary application inputs in that they are part of the environment in which the process runs, rather than parameters supplied through a command line or a graphical interface. To represent the fact that an environment variable was set to a certain value during the execution of an action, use the `environment` property from the [workflow-run](https://w3id.org/ro/terms/workflow-run#https://w3id.org/ro/terms/workflow-run/context) ro-terms namespace, making it point to a `PropertyValue` that describes the setting:
404407

405408
```json
406409
{
407410
"@context": [
408411
"https://w3id.org/ro/crate/1.1/context",
409-
"https://w3id.org/ro/terms/workflow-run"
412+
"https://w3id.org/ro/terms/workflow-run/context"
410413
],
411414
"@graph": [
412415
...

0 commit comments

Comments
 (0)