@prefix this: <
http://purl.org/np/RAl0Z39yx24rseB6EBSDoA3fPPOWc_y0tMlI03riNffbo
> .
@prefix sub: <
http://purl.org/np/RAl0Z39yx24rseB6EBSDoA3fPPOWc_y0tMlI03riNffbo#
> .
@prefix schema: <
https://schema.org/
> .
@prefix np: <
http://www.nanopub.org/nschema#
> .
@prefix dc1: <
http://purl.org/dc/terms/
> .
@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
{
<
http://purl.org/np/RABdW2A60x55BA1Ca3WJawb3sb9_honQtqL9YIfz21nSY#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RAaAv1FtS2jE8JUibDIjZqiAWc7LmvUMZkOf6shnVtwtI#step
> .
<
http://purl.org/np/RAaAv1FtS2jE8JUibDIjZqiAWc7LmvUMZkOf6shnVtwtI#step
>
pplan:isStepOfPlan
sub:plan
.
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
dc1: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
""" ;
dc1:language
sub:LinguisticSystem
;
a
pplan:Plan
;
rdfs:label
"My Workflow" .
<
http://purl.org/np/RAsPs9oDb2zwf7wzpAxNsfPzoUvFICVNoRLi7tsumrl7k#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RAzfKv7Vc2FNOekBII7PR8HoPR0B5qJRe-byOaAA36bjE#step
> .
<
http://purl.org/np/RAzfKv7Vc2FNOekBII7PR8HoPR0B5qJRe-byOaAA36bjE#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RAaAv1FtS2jE8JUibDIjZqiAWc7LmvUMZkOf6shnVtwtI#step
> .
<
http://www.example.org/unpublished-add#out1
>
pplan:bindsTo
<
http://www.example.org/unpublished-weird#a
> .
<
http://www.example.org/unpublished-mul#out1
>
pplan:bindsTo
sub:result
.
<
http://www.example.org/unpublished-sub#out1
>
pplan:bindsTo
<
http://www.example.org/unpublished-mul#b
> .
<
http://www.example.org/unpublished-weird#out1
>
pplan:bindsTo
<
http://www.example.org/unpublished-mul#a
> .
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2021-03-04T19:00:08.275750"^^
xsd:dateTime
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB" ;
npx:hasSignature
"qBRfmmwwE/Ho5f1AneUhN4dQLeDtVJwxqSiZULlklRlLiHnjVTH+q+1TZzHeH78ZZ0UyrVRXc5MCYhLZg1aHYRWWfV8jaDCGVPTTFP92Iy22gUjP5xj5JA1h2wffT1Cc+voRIITGw+p1qP9bHcWbn2JJr+WKzF8nRpl5UOQRLtc=" ;
npx:hasSignatureTarget
this:
.
this:
npx:introduces
sub:plan
;
prov:generatedAtTime
"2021-03-04T19:00:08.275750"^^
xsd:dateTime
;
prov:wasAttributedTo
<
https://orcid.org/0000-0000-0000-0000
> .
}