@prefix dct: <http://purl.org/dc/terms/> .
@prefix orcid: <https://orcid.org/> .
@prefix this: <http://purl.org/np/RA57vlIE5bv-Cz_e5fTnivvhVPl_B_gds9EAFcrkH3PtY> .
@prefix sub: <http://purl.org/np/RA57vlIE5bv-Cz_e5fTnivvhVPl_B_gds9EAFcrkH3PtY#> .
@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/RA-_g7nrjPyS8kQPdTn8tp6cINIZT2jJZZwmhWFl9tNMU#out1> pplan:bindsTo <http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#image> .
  <http://purl.org/np/RA-_g7nrjPyS8kQPdTn8tp6cINIZT2jJZZwmhWFl9tNMU#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step> .
  <http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#out1> pplan:bindsTo <http://purl.org/np/RAhqOyy9u05N9uJOiH9wb3O57xgB1dlj2AFpxp9_gCOeE#img> .
  <http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAhqOyy9u05N9uJOiH9wb3O57xgB1dlj2AFpxp9_gCOeE#step> .
  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='Convert an image to a pencil sketch')
def wf_t1(image):
    gray_image = rgb2gray_image(image)
    negative_image = invert_colors(gray_image)
    blurred_image = blur(negative_image)
    blended_image = blend_image(gray_image, blurred_image)
    new_image = contrast_image(blended_image, 1)
    return new_image
""" ;
    dct:language sub:LinguisticSystem ;
    a pplan:Plan ;
    rdfs:label "Convert an image to a pencil sketch" .
  <http://purl.org/np/RAW66hqGJsi5EzCFlFtke5bpeNA1E4wILElew-Gybq7jg#out1> pplan:bindsTo <http://purl.org/np/RA-_g7nrjPyS8kQPdTn8tp6cINIZT2jJZZwmhWFl9tNMU#im1> , <http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#img> .
  <http://purl.org/np/RAW66hqGJsi5EzCFlFtke5bpeNA1E4wILElew-Gybq7jg#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RA-_g7nrjPyS8kQPdTn8tp6cINIZT2jJZZwmhWFl9tNMU#step> , <http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#step> .
  <http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#out1> pplan:bindsTo sub:result .
  <http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step> pplan:isStepOfPlan sub:plan .
  <http://purl.org/np/RAhqOyy9u05N9uJOiH9wb3O57xgB1dlj2AFpxp9_gCOeE#out1> pplan:bindsTo <http://purl.org/np/RA-_g7nrjPyS8kQPdTn8tp6cINIZT2jJZZwmhWFl9tNMU#im2> .
  <http://purl.org/np/RAhqOyy9u05N9uJOiH9wb3O57xgB1dlj2AFpxp9_gCOeE#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RA-_g7nrjPyS8kQPdTn8tp6cINIZT2jJZZwmhWFl9tNMU#step> .
}
sub:provenance {
  sub:assertion prov:generatedAtTime "2021-06-14T16:22:50.368757"^^xsd:dateTime .
}
sub:pubInfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCPAyJFCA2/PdKLTXBCgKMLwE6LPIGMm9gINqjvPvOQVp2oZ0ZqB0v7Y/b7FqF90XUvbztM+GW5dsmMQUeuF+fty/5f2udsUnfHRmJQKiHxPNk9hdHwW5+1Tegh9dhwyPjJDWnGq36d+2j/EDIXqNiLI4xru5NY4G0c4FcS8YQRCQIDAQAB" ;
    npx:hasSignature "eM4kNK386hQZExQEhxhF03PZBYy+luDoSXkrRzYrq9JCQYJ05GjLu233XahYFjaOE1kK3a3HjY0avnvkURq/GFo/MW3Nk0oUiCbLgfQE6l617cjRbwCRWz7snTlfZP2RVVz0xBAo0EMp46ctMt19s6v6akrxe0Z9JAahQ27f9dU=" ;
    npx:hasSignatureTarget this: .
  this: npx:introduces sub:plan ;
    prov:generatedAtTime "2021-06-14T16:22:50.368757"^^xsd:dateTime ;
    prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}