@prefix ns2: <http://purl.org/dc/terms/> .
@prefix orcid: <https://orcid.org/> .
@prefix this: <http://purl.org/np/RADIZtKW-ofZ6LTPhx8CDYzpnwLEHuU5FuE0dnYpwQjpM> .
@prefix sub: <http://purl.org/np/RADIZtKW-ofZ6LTPhx8CDYzpnwLEHuU5FuE0dnYpwQjpM#> .
@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 {
  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" .
  <http://purl.org/np/RAKLUGgjL-8flJ9RknqRuX01H0u3ngdO1nyMCuozTpSGU#mul-output1> pplan:bindsTo sub:result .
  <http://purl.org/np/RAKLUGgjL-8flJ9RknqRuX01H0u3ngdO1nyMCuozTpSGU#step> pplan:isStepOfPlan sub:plan .
  <http://purl.org/np/RAMYtAUilyeDOz3eXJbjVW5z4CUKlj8O1TOBQqWpch4M4#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAKLUGgjL-8flJ9RknqRuX01H0u3ngdO1nyMCuozTpSGU#step> .
  <http://purl.org/np/RAMYtAUilyeDOz3eXJbjVW5z4CUKlj8O1TOBQqWpch4M4#weird-output1> pplan:bindsTo <http://purl.org/np/RAKLUGgjL-8flJ9RknqRuX01H0u3ngdO1nyMCuozTpSGU#a> .
  <http://purl.org/np/RAS9v8NiQrk55Wo3Qcpwv21s4dtdckD8sHJLY4MgEgqr4#add-output1> pplan:bindsTo <http://purl.org/np/RAMYtAUilyeDOz3eXJbjVW5z4CUKlj8O1TOBQqWpch4M4#a> .
  <http://purl.org/np/RAS9v8NiQrk55Wo3Qcpwv21s4dtdckD8sHJLY4MgEgqr4#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAMYtAUilyeDOz3eXJbjVW5z4CUKlj8O1TOBQqWpch4M4#step> .
  <http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAKLUGgjL-8flJ9RknqRuX01H0u3ngdO1nyMCuozTpSGU#step> .
  <http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#sub-output1> pplan:bindsTo <http://purl.org/np/RAKLUGgjL-8flJ9RknqRuX01H0u3ngdO1nyMCuozTpSGU#b> .
}
sub:provenance {
  sub:assertion prov:generatedAtTime "2021-01-24T22:04:28.293806"^^xsd:dateTime .
}
sub:pubInfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB" ;
    npx:hasSignature "MdndTmeRU+DiJorRWR1XURKgA3a2305Vx+UBnblb/UtiFxh8+ZUdpi7DTDZvn8zw9kUYd+GTq8U+/mXrQuTBrFGomzy1tkJ3zGn8+tXBJh9xMpYmwE7NksRl/3dk76V2h9eCFqxNdeKQlNPMDQP6AibY9jqJLpvcK/vAKLUEKuc=" ;
    npx:hasSignatureTarget this: .
  this: npx:introduces sub:plan ;
    prov:generatedAtTime "2021-01-24T22:04:28.293806"^^xsd:dateTime ;
    prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}