diff --git a/workflow-run/context.json b/workflow-run/context.json index c166b8b..7ac0141 100644 --- a/workflow-run/context.json +++ b/workflow-run/context.json @@ -16,7 +16,8 @@ "environment": "https://w3id.org/ro/terms/workflow-run#environment", "registry": "https://w3id.org/ro/terms/workflow-run#registry", "tag": "https://w3id.org/ro/terms/workflow-run#tag", - "containerImage": "https://w3id.org/ro/terms/workflow-run#containerImage" + "containerImage": "https://w3id.org/ro/terms/workflow-run#containerImage", + "resourceUsage": "https://w3id.org/ro/terms/workflow-run#resourceUsage" } ] } \ No newline at end of file diff --git a/workflow-run/readme.md b/workflow-run/readme.md index 5371e25..dbdd36a 100644 --- a/workflow-run/readme.md +++ b/workflow-run/readme.md @@ -54,3 +54,4 @@ For updates to terms, remember to: | registry | Property | registry | A service to register software products, such as container images | ContainerImage | Text | | tag | Property | tag | A tag assigned to a software product, such as a container image | ContainerImage | Text | | containerImage | Property | containerImage | A container image associated with this entity | CreateAction | ContainerImage URL | +| resourceUsage | Property | resourceUsage | A resource usage item, such as peak memory | CreateAction | PropertyValue | diff --git a/workflow-run/vocabulary.csv b/workflow-run/vocabulary.csv index ccae83c..e8e86cf 100644 --- a/workflow-run/vocabulary.csv +++ b/workflow-run/vocabulary.csv @@ -14,3 +14,4 @@ "registry","Property","registry","A service to register software products, such as container images","ContainerImage","Text" "tag","Property","tag","A tag assigned to a software product, such as a container image","ContainerImage","Text" "containerImage","Property","containerImage","A container image associated with this entity","CreateAction","ContainerImage URL" +"resourceUsage","Property","resourceUsage","A resource usage item, such as peak memory","CreateAction","PropertyValue" diff --git a/workflow-run/wfrun.jsonld b/workflow-run/wfrun.jsonld index c28005d..dcd9cc3 100644 --- a/workflow-run/wfrun.jsonld +++ b/workflow-run/wfrun.jsonld @@ -17,7 +17,7 @@ "registry": "https://w3id.org/ro/terms/workflow-run#registry", "tag": "https://w3id.org/ro/terms/workflow-run#tag", "containerImage": "https://w3id.org/ro/terms/workflow-run#containerImage", - + "resourceUsage": "https://w3id.org/ro/terms/workflow-run#resourceUsage", "input": "https://bioschemas.org/properties/input", "output": "https://bioschemas.org/properties/output", "wfrun": "https://w3id.org/ro/terms/workflow-run#", @@ -65,6 +65,9 @@ { "@id": "wfrun:containerImage" }, + { + "@id": "wfrun:resourceUsage" + }, { "@id": "wfrun:md5" }, @@ -400,6 +403,27 @@ }, "@type": "rdf:Property" }, + { + "@id": "wfrun:resourceUsage", + "rdfs:comment": { + "@language": "en-gb", + "@value": "A resource usage item, such as peak memory" + }, + "rdfs:label": { + "@language": "en-gb", + "@value": "resourceUsage" + }, + "rdfs:isDefinedBy": { + "@id": "https://w3id.org/ro/terms/workflow-run#" + }, + "rangeIncludes": { + "@id": "PropertyValue" + }, + "domainIncludes": { + "@id": "CreateAction" + }, + "@type": "rdf:Property" + }, { "@id": "wfrun:md5", "rdfs:comment": { diff --git a/workflow-run/wfrun.nt b/workflow-run/wfrun.nt index f11c8fa..4a1b00c 100644 --- a/workflow-run/wfrun.nt +++ b/workflow-run/wfrun.nt @@ -43,6 +43,12 @@ . "containerImage"@en-gb . "A container image associated with this entity"@en-gb . + . + . + . + . + "resourceUsage"@en-gb . + "A resource usage item, such as peak memory"@en-gb . . . . diff --git a/workflow-run/wfrun.rdf b/workflow-run/wfrun.rdf index 5a150a0..b27a27c 100644 --- a/workflow-run/wfrun.rdf +++ b/workflow-run/wfrun.rdf @@ -61,6 +61,7 @@ + A Schema.org style Schema definitin of WRROC terms @@ -87,6 +88,14 @@ + + A resource usage item, such as peak memory + resourceUsage + + + + + A connection between parameters of different applications ParameterConnection diff --git a/workflow-run/wfrun.ttl b/workflow-run/wfrun.ttl index 38a3826..35ceca2 100644 --- a/workflow-run/wfrun.ttl +++ b/workflow-run/wfrun.ttl @@ -55,6 +55,13 @@ wfrun:containerImage rdf:type rdf:Property ; rdfs:label "containerImage"@en-gb ; rdfs:comment "A container image associated with this entity"@en-gb . +wfrun:resourceUsage rdf:type rdf:Property ; + s:domainIncludes s:CreateAction ; + s:rangeIncludes s:PropertyValue ; + rdfs:isDefinedBy wfrun: ; + rdfs:label "resourceUsage"@en-gb ; + rdfs:comment "A resource usage item, such as peak memory"@en-gb . + wfrun:environment rdf:type rdf:Property ; s:domainIncludes s:CreateAction, s:SoftwareApplication,