@prefix dct: <http://purl.org/dc/terms/> .
@prefix orcid: <https://orcid.org/> .
@prefix this: <http://purl.org/np/RAzKMgWAP5wxH9xVpY6m5eEhT4Hxfuj1VdmaLxa4myeCU> .
@prefix sub: <http://purl.org/np/RAzKMgWAP5wxH9xVpY6m5eEhT4Hxfuj1VdmaLxa4myeCU#> .
@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 {
  <http://purl.org/np/RAKPouBbpsZPzpZPyqjAaVYyO5c-p-p5zJKknaovCeTHQ#out1> pplan:bindsTo <http://purl.org/np/RAOM15tLZG08t-OcnR1bf6HSv3gcWfnDCkytM6QvUZml8#inverted_img> .
  <http://purl.org/np/RAKPouBbpsZPzpZPyqjAaVYyO5c-p-p5zJKknaovCeTHQ#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAOM15tLZG08t-OcnR1bf6HSv3gcWfnDCkytM6QvUZml8#step> .
  <http://purl.org/np/RAOM15tLZG08t-OcnR1bf6HSv3gcWfnDCkytM6QvUZml8#out1> pplan:bindsTo <http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#front> .
  <http://purl.org/np/RAOM15tLZG08t-OcnR1bf6HSv3gcWfnDCkytM6QvUZml8#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#step> .
  <http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#out1> pplan:bindsTo <http://purl.org/np/RAKPouBbpsZPzpZPyqjAaVYyO5c-p-p5zJKknaovCeTHQ#gray_img> , <http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#back> .
  <http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAKPouBbpsZPzpZPyqjAaVYyO5c-p-p5zJKknaovCeTHQ#step> , <http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#step> .
  <http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#out1> pplan:bindsTo sub:result .
  <http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#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 dct:description """@is_fairworkflow(label='workflow to convert an image to a pencil sketch')
def sketch_workflow(img):
    grey = grayscale(img)
    inv = inverter(grey)
    blur = blurrer(inv)
    t3 = dodge(blur, grey)
    return t3
""" ;
    dct:language sub:LinguisticSystem ;
    a pplan:Plan ;
    rdfs:label "workflow to convert an image to a pencil sketch" .
}
sub:provenance {
  sub:assertion prov:generatedAtTime "2021-06-14T14:21:58.917562"^^xsd:dateTime .
}
sub:pubInfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCD0/NXW4aH07lWeqN00hKVsQFT8IArmlwRKAY8IFGV9ijOcjMkxlyXUp3v6tin5/cC4/HgVcv8mEPdCTbIFbnyLf1KmEgLvWs7SE7wIpQFhG79ptwaH3AVfP+BxIZyCXpTIGAV3Fu56yNEyn4nZZELS03O20D9WXDVD7le3RKzUQIDAQAB" ;
    npx:hasSignature "XxUp+DUtcO5I0fSI+tAtgiRpCbNv7pQ2raWCKem02IdcEJZdEbwxEnG1ynj+COnBG+xMA8ge5BkXANxAXMeYTDRldjboVCBpyZCNHM8eRd/y+T5l5++d/e19vYZ0OsRJMWPNzQsdFfrAljWuTLNAkgug8FkrdBV9yckRiL4brv8=" ;
    npx:hasSignatureTarget this: .
  this: npx:introduces sub:plan ;
    prov:generatedAtTime "2021-06-14T14:21:58.917562"^^xsd:dateTime ;
    prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}