@prefix dct: <
http://purl.org/dc/terms/
> .
@prefix orcid: <
https://orcid.org/
> .
@prefix this: <
http://purl.org/np/RA_wG_JPCQaG5UKefBzMq6hVrJYoNkfLm_r4PJCdjaOGQ
> .
@prefix sub: <
http://purl.org/np/RA_wG_JPCQaG5UKefBzMq6hVrJYoNkfLm_r4PJCdjaOGQ#
> .
@prefix schema: <
https://schema.org/
> .
@prefix np: <
http://www.nanopub.org/nschema#
> .
@prefix owl: <
http://www.w3.org/2002/07/owl#
> .
@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
{
sub:LinguisticSystem
a
schema:ComputerLanguage
;
rdfs:label
"python" ;
rdfs:seeAlso
<
https://www.wikidata.org/wiki/Q28865
> ;
owl:versionInfo
"3.7.9.final.0" .
sub:plan
dct:description
"""@is_fairworkflow(label='A simple addition, subtraction, multiplication workflow')
def my_workflow(in1, in2, in3):
t1 = add(in1, in2)
t2 = sub(in1, in2)
t3 = mul(weird(t1, in3), t2)
return t3
""" ;
dct:language
sub:LinguisticSystem
;
a
pplan:Plan
;
rdfs:label
"A simple addition, subtraction, multiplication workflow" .
<
http://purl.org/np/RAh7isXjUhdKmoHGQUv_82cfUDpODSiaoXnvqfygKajyM#out1
>
pplan:bindsTo
<
http://purl.org/np/RApLfg9GGL3CE_kLgixqMmI8StUEmjDyqTloa8L96uIHg#a
> .
<
http://purl.org/np/RAh7isXjUhdKmoHGQUv_82cfUDpODSiaoXnvqfygKajyM#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RApLfg9GGL3CE_kLgixqMmI8StUEmjDyqTloa8L96uIHg#step
> .
<
http://purl.org/np/RApLfg9GGL3CE_kLgixqMmI8StUEmjDyqTloa8L96uIHg#out1
>
pplan:bindsTo
<
http://purl.org/np/RArzturDP04XiIG5acf6ND8LUtSgyB2ysXXUjRvXjs1Fo#a
> .
<
http://purl.org/np/RApLfg9GGL3CE_kLgixqMmI8StUEmjDyqTloa8L96uIHg#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RArzturDP04XiIG5acf6ND8LUtSgyB2ysXXUjRvXjs1Fo#step
> .
<
http://purl.org/np/RArzturDP04XiIG5acf6ND8LUtSgyB2ysXXUjRvXjs1Fo#out1
>
pplan:bindsTo
sub:result
.
<
http://purl.org/np/RArzturDP04XiIG5acf6ND8LUtSgyB2ysXXUjRvXjs1Fo#step
>
pplan:isStepOfPlan
sub:plan
.
<
http://purl.org/np/RAseIBqK6oeCw7Twpwq9leX1jXmXtk8zd2SW-V5InFw_Q#out1
>
pplan:bindsTo
<
http://purl.org/np/RArzturDP04XiIG5acf6ND8LUtSgyB2ysXXUjRvXjs1Fo#b
> .
<
http://purl.org/np/RAseIBqK6oeCw7Twpwq9leX1jXmXtk8zd2SW-V5InFw_Q#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RArzturDP04XiIG5acf6ND8LUtSgyB2ysXXUjRvXjs1Fo#step
> .
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2021-06-14T12:21:43.736708"^^
xsd:dateTime
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCZPnLpyVJGuy1NduPcerKeZiPDQpw0U4/IAkxM/lZzamF9SxWP00Fxzrp5TxlKvtZxTKm23/cYnVQKyIf8IFYDFsx4UuPANRpFUaC9XX/kpqL6uK7inoIP5IkTt2gGgjedqUCKLcyqxBoIOVtCeZ2JnyOPiaSnAnjwiatI5b1RcQIDAQAB" ;
npx:hasSignature
"EqzhQj+kIe0hza1gRUNbCVGiSgaEA9jaLx8fE6pF+/bV8Lb0kQJ/CAZfJDDjSsgTBE0R0Nb5a37BhAKXM9P9c5wPYJfMSw5vr0Ac6+2ETignJvtJDnkRBGGzokLiIfMidH50nBUg2zJdwQeksKFbsCB0lqKr1mPakS+vlGKSuHA=" ;
npx:hasSignatureTarget
this:
.
this:
npx:introduces
sub:plan
;
prov:generatedAtTime
"2021-06-14T12:21:43.736708"^^
xsd:dateTime
;
prov:wasAttributedTo
orcid:0000-0000-0000-0000
.
}