@prefix dct: <http://purl.org/dc/terms/> .
@prefix orcid: <https://orcid.org/> .
@prefix this: <http://purl.org/np/RAZN4NXSt9m3J9ROAn78Kd6QnKKDntc777-CrRNxmZ3pI> .
@prefix sub: <http://purl.org/np/RAZN4NXSt9m3J9ROAn78Kd6QnKKDntc777-CrRNxmZ3pI#> .
@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/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#out1> pplan:bindsTo sub:result .
  <http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#step> pplan:isStepOfPlan sub:plan .
  <http://purl.org/np/RAUH-0Ny3yZ8OcVTwd-6qWqDSDs6nFweVEHjCcX8Q7igw#out1> pplan:bindsTo <http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#image> .
  <http://purl.org/np/RAUH-0Ny3yZ8OcVTwd-6qWqDSDs6nFweVEHjCcX8Q7igw#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#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='A conversion from an image to a pencil sketch of that image')
def my_image_conversion_workflow(inputImg):
    new_img_S1 = rgb2gray_image(inputImg)
    new_img_S2 = invert_colors(new_img_S1)
    new_img_S3 = blur(new_img_S2)
    new_img_S4 = blend_image(new_img_S1, new_img_S3)
    new_img_S5 = contrast_image(new_img_S4, 5)
    return new_img_S5
""" ;
    dct:language sub:LinguisticSystem ;
    a pplan:Plan ;
    rdfs:label "A conversion from an image to a pencil sketch of that image" .
  <http://purl.org/np/RA_AyeI5ecjWzeSbwL9y4GcToP_iqEt7L2VKucojg-4m8#out1> pplan:bindsTo <http://purl.org/np/RAUH-0Ny3yZ8OcVTwd-6qWqDSDs6nFweVEHjCcX8Q7igw#im2> .
  <http://purl.org/np/RA_AyeI5ecjWzeSbwL9y4GcToP_iqEt7L2VKucojg-4m8#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAUH-0Ny3yZ8OcVTwd-6qWqDSDs6nFweVEHjCcX8Q7igw#step> .
  <http://purl.org/np/RAhFLk2nwmHKjRFrIXZL-NwtgWqOWWHlWFiJmE80ls094#out1> pplan:bindsTo <http://purl.org/np/RAUH-0Ny3yZ8OcVTwd-6qWqDSDs6nFweVEHjCcX8Q7igw#im1> , <http://purl.org/np/RAmMD0MYZO_fpacHKD6Z3EZviglSi-IDfB9M6PykLvLcI#img> .
  <http://purl.org/np/RAhFLk2nwmHKjRFrIXZL-NwtgWqOWWHlWFiJmE80ls094#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAUH-0Ny3yZ8OcVTwd-6qWqDSDs6nFweVEHjCcX8Q7igw#step> , <http://purl.org/np/RAmMD0MYZO_fpacHKD6Z3EZviglSi-IDfB9M6PykLvLcI#step> .
  <http://purl.org/np/RAmMD0MYZO_fpacHKD6Z3EZviglSi-IDfB9M6PykLvLcI#out1> pplan:bindsTo <http://purl.org/np/RA_AyeI5ecjWzeSbwL9y4GcToP_iqEt7L2VKucojg-4m8#img> .
  <http://purl.org/np/RAmMD0MYZO_fpacHKD6Z3EZviglSi-IDfB9M6PykLvLcI#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RA_AyeI5ecjWzeSbwL9y4GcToP_iqEt7L2VKucojg-4m8#step> .
}
sub:provenance {
  sub:assertion prov:generatedAtTime "2021-06-14T15:48:31.181892"^^xsd:dateTime .
}
sub:pubInfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCLhcv1SyvzcXgvMXEoNZBLxEmab0CGwZCTDKHjBwxqvchNBVkPtedUGxhxztFu+TkuvdeuaaO2Wn4DJYNkOjCJb/uQHHf8DwlBJ+Damvt4kUZO/AkZ9XIIAbYAizMZMdJmuB9qlv1aJ24fyib12hGLgpgI7Z2Cs5DK+s345J6B8QIDAQAB" ;
    npx:hasSignature "YV5qkMLQfzvUwvYlbNMKahq8By/dEXgvGYFpT5gRtE1kmKXdZQbJenhkR3E+cGbqfRrCBHUacBioQnXnjaSWlJd7hs5jeCR6m8BZWVj885/faSxBIPhatLtg9S84a3OyL6I1Aubs8y4hkPZ7V+2O9OQhNOdchIRwKsU9UUXzkfY=" ;
    npx:hasSignatureTarget this: .
  this: npx:introduces sub:plan ;
    prov:generatedAtTime "2021-06-14T15:48:31.181892"^^xsd:dateTime ;
    prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}