From 8a304f2145dc24c2d24d65d42f8660342dde6897 Mon Sep 17 00:00:00 2001 From: simleo Date: Fri, 22 Mar 2024 16:11:52 +0100 Subject: [PATCH 1/3] workflow-run: add resourceUsage --- workflow-run/context.json | 3 ++- workflow-run/vocabulary.csv | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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/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" From f86dd427e7089fbd05944976eeb05ff66552700a Mon Sep 17 00:00:00 2001 From: simleo Date: Thu, 30 May 2024 15:05:41 +0200 Subject: [PATCH 2/3] update jsonld, nt, rdf and ttl files --- workflow-run/wfrun.jsonld | 26 +++++++++++++++++++++++++- workflow-run/wfrun.nt | 6 ++++++ workflow-run/wfrun.rdf | 9 +++++++++ workflow-run/wfrun.ttl | 7 +++++++ 4 files changed, 47 insertions(+), 1 deletion(-) 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, From b6614f53fcecf921833e561b2b0cbaef5432b03a Mon Sep 17 00:00:00 2001 From: simleo Date: Thu, 30 May 2024 15:20:03 +0200 Subject: [PATCH 3/3] update readme table --- workflow-run/readme.md | 1 + 1 file changed, 1 insertion(+) 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 |