@prefix ns1: <
http://purl.org/dc/terms/
> .
@prefix orcid: <
https://orcid.org/
> .
@prefix this: <
http://purl.org/np/RARmcUAyL_WrXHCyfaEAZK_Lk7V1bRP50PPZK8HvJGx8I
> .
@prefix sub: <
http://purl.org/np/RARmcUAyL_WrXHCyfaEAZK_Lk7V1bRP50PPZK8HvJGx8I#
> .
@prefix np: <
http://www.nanopub.org/nschema#
> .
@prefix npx: <
http://purl.org/nanopub/x/
> .
@prefix pplan: <
http://purl.org/net/p-plan#
> .
@prefix xsd: <
http://www.w3.org/2001/XMLSchema#
> .
@prefix dul: <
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#
> .
@prefix rdfs: <
http://www.w3.org/2000/01/rdf-schema#
> .
@prefix prov: <
http://www.w3.org/ns/prov#
> .
sub:Head
{
this:
np:hasAssertion
sub:assertion
;
np:hasProvenance
sub:provenance
;
np:hasPublicationInfo
sub:pubInfo
;
a
np:Nanopublication
.
}
sub:assertion
{
<
http://purl.org/np/RA2tPqo91vF0YZDtQA9kKpyFwVSwORL-IOAqVYquSyGa4#add-output1
>
pplan:bindsTo
<
http://purl.org/np/RATIIsgp1pLwx3s3EYa7rc5bzrWy4LEyeANDLitao9qWw#a
> .
<
http://purl.org/np/RA2tPqo91vF0YZDtQA9kKpyFwVSwORL-IOAqVYquSyGa4#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RATIIsgp1pLwx3s3EYa7rc5bzrWy4LEyeANDLitao9qWw#step
> .
<
http://purl.org/np/RAPdfwvM5ijQvtKX8yMlDovjLgvBP1--XjoRZxcdvwjMA#mul-output1
>
pplan:bindsTo
sub:result
.
<
http://purl.org/np/RAPdfwvM5ijQvtKX8yMlDovjLgvBP1--XjoRZxcdvwjMA#step
>
pplan:isStepOfPlan
sub:plan
.
sub:plan
ns1:description
"""@is_fairworkflow(label='My Workflow')
def my_workflow(in1, in2, in3):
\"\"\"
A simple addition, subtraction, multiplication workflow
\"\"\"
t1 = add(in1, in2)
t2 = sub(in1, in2)
t3 = mul(weird(t1, in3), t2)
return t3
""" ;
a
pplan:Plan
;
rdfs:label
"My Workflow" .
<
http://purl.org/np/RATIIsgp1pLwx3s3EYa7rc5bzrWy4LEyeANDLitao9qWw#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RAPdfwvM5ijQvtKX8yMlDovjLgvBP1--XjoRZxcdvwjMA#step
> .
<
http://purl.org/np/RATIIsgp1pLwx3s3EYa7rc5bzrWy4LEyeANDLitao9qWw#weird-output1
>
pplan:bindsTo
<
http://purl.org/np/RAPdfwvM5ijQvtKX8yMlDovjLgvBP1--XjoRZxcdvwjMA#a
> .
<
http://purl.org/np/RAUloXhmEMuQ_7d6mIVNX0p7bSgG1HR4WHBuxSL-sbmAY#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RAPdfwvM5ijQvtKX8yMlDovjLgvBP1--XjoRZxcdvwjMA#step
> .
<
http://purl.org/np/RAUloXhmEMuQ_7d6mIVNX0p7bSgG1HR4WHBuxSL-sbmAY#sub-output1
>
pplan:bindsTo
<
http://purl.org/np/RAPdfwvM5ijQvtKX8yMlDovjLgvBP1--XjoRZxcdvwjMA#b
> .
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2021-01-27T18:14:26.482280"^^
xsd:dateTime
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB" ;
npx:hasSignature
"fULKCG8Ms+LQ2HndsTNXcdovYlUm9ntdGYYCea9ViyeULJ5hJMXGEMKKl6SnkhlfZu1FnnQ1qgohn+OYLB1dmOCUr/zn/b94LQC/V8quK5zkz6Y6Aoda3TT+QkkfWTDTr3wt20Oi6/xH/Dhs7Zwpc3KEX4uRj6Jo0jfcJwvpvW8=" ;
npx:hasSignatureTarget
this:
.
this:
npx:introduces
sub:plan
;
prov:generatedAtTime
"2021-01-27T18:14:26.482280"^^
xsd:dateTime
;
prov:wasAttributedTo
orcid:0000-0000-0000-0000
.
}