@prefix ns2: .
@prefix orcid: .
@prefix this: .
@prefix sub: .
@prefix np: .
@prefix npx: .
@prefix pplan: .
@prefix xsd: .
@prefix dul: .
@prefix rdfs: .
@prefix prov: .
sub:Head {
this: np:hasAssertion sub:assertion;
np:hasProvenance sub:provenance;
np:hasPublicationInfo sub:pubInfo;
a np:Nanopublication .
}
sub:assertion {
pplan:bindsTo
sub:result .
pplan:isStepOfPlan
sub:plan .
pplan:isStepOfPlan
sub:plan;
dul:precedes .
pplan:bindsTo
.
pplan:bindsTo
.
pplan:isStepOfPlan
sub:plan;
dul:precedes .
sub:plan ns2: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" .
pplan:isStepOfPlan
sub:plan;
dul:precedes .
pplan:bindsTo
.
}
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 .
}