@prefix ns1: <
http://purl.org/dc/terms/
> .
@prefix orcid: <
https://orcid.org/
> .
@prefix this: <
http://purl.org/np/RArWbK8aNpL7cB9P579gNryjTIQzHveAJfWnIm3bszUWc
> .
@prefix sub: <
http://purl.org/np/RArWbK8aNpL7cB9P579gNryjTIQzHveAJfWnIm3bszUWc#
> .
@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/RA9NXAl30x1fDjYwML7_EiQQk45Rb3N-APa-Oo8sWbfnM#mul-output1
>
pplan:bindsTo
sub:result
.
<
http://purl.org/np/RA9NXAl30x1fDjYwML7_EiQQk45Rb3N-APa-Oo8sWbfnM#step
>
pplan:isStepOfPlan
sub:plan
.
<
http://purl.org/np/RAIRpV_rKOXhvrxYPm-YCo7HeXZeg_8lSZaJrwpE1GRQ0#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RA9NXAl30x1fDjYwML7_EiQQk45Rb3N-APa-Oo8sWbfnM#step
> .
<
http://purl.org/np/RAIRpV_rKOXhvrxYPm-YCo7HeXZeg_8lSZaJrwpE1GRQ0#sub-output1
>
pplan:bindsTo
<
http://purl.org/np/RA9NXAl30x1fDjYwML7_EiQQk45Rb3N-APa-Oo8sWbfnM#b
> .
<
http://purl.org/np/RAOxl_Qc40-l-2ZSX9NilVrMKDTcit8Ps25KbvkvREfGs#add-output1
>
pplan:bindsTo
<
http://purl.org/np/RAxbjAxLcrD1B4HpTqBNP54d2qBAanX_qSZNGOUOTuvsM#a
> .
<
http://purl.org/np/RAOxl_Qc40-l-2ZSX9NilVrMKDTcit8Ps25KbvkvREfGs#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RAxbjAxLcrD1B4HpTqBNP54d2qBAanX_qSZNGOUOTuvsM#step
> .
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/RAxbjAxLcrD1B4HpTqBNP54d2qBAanX_qSZNGOUOTuvsM#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RA9NXAl30x1fDjYwML7_EiQQk45Rb3N-APa-Oo8sWbfnM#step
> .
<
http://purl.org/np/RAxbjAxLcrD1B4HpTqBNP54d2qBAanX_qSZNGOUOTuvsM#weird-output1
>
pplan:bindsTo
<
http://purl.org/np/RA9NXAl30x1fDjYwML7_EiQQk45Rb3N-APa-Oo8sWbfnM#a
> .
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2021-01-25T15:28:42.962652"^^
xsd:dateTime
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" ;
npx:hasSignature
"iffwxnfTl1JK/+GhLDr18+qgllYa9Y02OTYt7EIQZyfyxK4XU6xMlHFaLejlbSVwu7r7I331XFqXgmKLuEMQEoN5KyQXGf4BuCtCIFxEcHM8Kww4wlUlUTDXq4pkiVugVAQaZRKD85bkNJzOOx6iJ1YF8jF4XzKLgepXJWoIyMg=" ;
npx:hasSignatureTarget
this:
.
this:
npx:introduces
sub:plan
;
prov:generatedAtTime
"2021-01-25T15:28:42.962652"^^
xsd:dateTime
;
prov:wasAttributedTo
orcid:0000-0002-1267-0234
.
}