@prefix dcterms: <
http://purl.org/dc/terms/
> .
@prefix orcid: <
https://orcid.org/
> .
@prefix this: <
http://purl.org/np/RAHU5O561ojG6xYfC75C4IljrZoWQDDXn9GPk8ugSo0yU
> .
@prefix sub: <
http://purl.org/np/RAHU5O561ojG6xYfC75C4IljrZoWQDDXn9GPk8ugSo0yU#
> .
@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
dcterms: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
""" ;
dcterms:language
sub:LinguisticSystem
;
a
pplan:Plan
;
rdfs:label
"My Workflow" .
<
http://purl.org/np/RAQ0DYKx7CgsNxSVN6YfDkgtuZcVXDjRlgGfdV2Suiid4#out1
>
pplan:bindsTo
<
http://purl.org/np/RAbYoUsrSZRupKjmcVS_Bw0IU9YoNKf_OacjmQqQiMNPk#b
> .
<
http://purl.org/np/RAQ0DYKx7CgsNxSVN6YfDkgtuZcVXDjRlgGfdV2Suiid4#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RAbYoUsrSZRupKjmcVS_Bw0IU9YoNKf_OacjmQqQiMNPk#step
> .
<
http://purl.org/np/RAbYoUsrSZRupKjmcVS_Bw0IU9YoNKf_OacjmQqQiMNPk#out1
>
pplan:bindsTo
sub:result
.
<
http://purl.org/np/RAbYoUsrSZRupKjmcVS_Bw0IU9YoNKf_OacjmQqQiMNPk#step
>
pplan:isStepOfPlan
sub:plan
.
<
http://purl.org/np/RAiadJhnNSQn4zt8NSbjTezscDhEyW_LBqoKLwM6T_7wg#out1
>
pplan:bindsTo
<
http://purl.org/np/RAbYoUsrSZRupKjmcVS_Bw0IU9YoNKf_OacjmQqQiMNPk#a
> .
<
http://purl.org/np/RAiadJhnNSQn4zt8NSbjTezscDhEyW_LBqoKLwM6T_7wg#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RAbYoUsrSZRupKjmcVS_Bw0IU9YoNKf_OacjmQqQiMNPk#step
> .
<
http://purl.org/np/RAvNLqnMC_72M-LFqribUCA7fF4z3-gq-k8M-zc8tLwYw#out1
>
pplan:bindsTo
<
http://purl.org/np/RAiadJhnNSQn4zt8NSbjTezscDhEyW_LBqoKLwM6T_7wg#a
> .
<
http://purl.org/np/RAvNLqnMC_72M-LFqribUCA7fF4z3-gq-k8M-zc8tLwYw#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RAiadJhnNSQn4zt8NSbjTezscDhEyW_LBqoKLwM6T_7wg#step
> .
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2021-04-13T15:53:38.950645"^^
xsd:dateTime
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB" ;
npx:hasSignature
"EyI7NB8oZiCv1gjrvTeGADhZQZ1xu+dAKOmxSxyLiHbfP7ET1dACsfKe7Fwa6tV5Za0eM/yU5owkQEj1oP3D9FD5TKc3XIgfJuXZVdb6fAeWMcLOvs5BbKB1jIgB9OB9qJ0ySsqC8nse1Ubo/wpjqZuYBSBiWOSP6jobrCqPqkM=" ;
npx:hasSignatureTarget
this:
.
this:
npx:introduces
sub:plan
;
prov:generatedAtTime
"2021-04-13T15:53:38.950645"^^
xsd:dateTime
;
prov:wasAttributedTo
orcid:0000-0000-0000-0000
.
}