@prefix dc: <
http://purl.org/dc/elements/1.1/
> .
@prefix this: <
http://purl.org/np/RAjsKUs7p4BSVwHQ1lmccfnBd-l8XPtmKXiGQYuM3Wkzk
> .
@prefix sub: <
http://purl.org/np/RAjsKUs7p4BSVwHQ1lmccfnBd-l8XPtmKXiGQYuM3Wkzk#
> .
@prefix bpmn: <
https://www.omg.org/spec/BPMN/
> .
@prefix np: <
http://www.nanopub.org/nschema#
> .
@prefix p-plan: <
http://purl.org/net/p-plan#
> .
@prefix prov: <
http://www.w3.org/ns/prov#
> .
@prefix xsd: <
http://www.w3.org/2001/XMLSchema#
> .
@prefix npx: <
http://purl.org/nanopub/x/
> .
sub:Head
{
this:
np:hasAssertion
sub:assertion
;
np:hasProvenance
sub:provenance
;
np:hasPublicationInfo
sub:pubInfo
;
a
np:Nanopublication
.
}
sub:assertion
{
<
http://purl.org/nanopub/temp/FAIRWorkflowsTest/Step/add/
>
dc:description
"""@FairStep(fw)
def add(int1, int2):
\"\"\"
Add two integers together (int1 and int2).
\"\"\"
result = int1 + int2
return result
""" ;
p-plan:hasInputVar
<
http://purl.org/nanopub/temp/FAIRWorkflowsTest/Step/add/int1
> , <
http://purl.org/nanopub/temp/FAIRWorkflowsTest/Step/add/int2
> ;
a
p-plan:Step
,
bpmn:scriptTask
.
<
http://purl.org/nanopub/temp/FAIRWorkflowsTest/Step/add/int1
>
a
p-plan:Variable
.
<
http://purl.org/nanopub/temp/FAIRWorkflowsTest/Step/add/int2
>
a
p-plan:Variable
.
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2020-04-10T10:22:39.478537"^^
xsd:date
;
prov:wasAttributedTo
sub:experimentScientist
;
prov:wasDerivedFrom
sub:experiment
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB" ;
npx:hasSignature
"TVYz7iEW3CuqDhroG5ND2r/DkzvmVtCYY/tgu4qqar4byoevN3vDwHkeYxdGCjVCHz/zBR7PLcY4ZaOBZwbxAqebxpgOqcdZb1BtBPSbq8abhCAkVdD/bsGvLMIBamJOxGpkFdV1V1Ol7aokY1lrERQTeMywuavkbSTAiS16C0U=" ;
npx:hasSignatureTarget
this:
.
this:
prov:generatedAtTime
"2020-04-10T10:22:39.478537"^^
xsd:date
;
prov:wasAttributedTo
sub:DrBob
.
}