@prefix dct: <http://purl.org/dc/terms/> .
@prefix orcid: <https://orcid.org/> .
@prefix this: <http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs> .
@prefix sub: <http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#> .
@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 {
  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='takes an images and returns a pencil sketch version')
def to_pencil_sketch(original_image):
    gray = rgb2gray_image(original_image)
    neg_gray = invert_colors(gray)
    blur_neg_gray = blur(neg_gray)
    blended = blend_image(gray, blur_neg_gray)
    final = contrast_image(blended, 5)
    return final
""" ;
    dct:language sub:LinguisticSystem ;
    a pplan:Plan ;
    rdfs:label "takes an images and returns a pencil sketch version" .
  <http://purl.org/np/RA4iUJyBzJlRNUYGQK56Ucj1EocJFtYAtWvPWcIXHoyVw#out1> pplan:bindsTo <http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#im2> .
  <http://purl.org/np/RA4iUJyBzJlRNUYGQK56Ucj1EocJFtYAtWvPWcIXHoyVw#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#step> .
  <http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#out1> pplan:bindsTo <http://purl.org/np/RALzDTTP2Asu7qHrcHr_tn9UN0YDftstTzlftMcKfiL6Y#image> .
  <http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RALzDTTP2Asu7qHrcHr_tn9UN0YDftstTzlftMcKfiL6Y#step> .
  <http://purl.org/np/RALzDTTP2Asu7qHrcHr_tn9UN0YDftstTzlftMcKfiL6Y#out1> pplan:bindsTo sub:result .
  <http://purl.org/np/RALzDTTP2Asu7qHrcHr_tn9UN0YDftstTzlftMcKfiL6Y#step> pplan:isStepOfPlan sub:plan .
  <http://purl.org/np/RAXpJNqlskXDL5aPVVKZSihpACxk7ABFR9l5f6Rx_miPA#out1> pplan:bindsTo <http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#im1> , <http://purl.org/np/RAdytZ_mvHqXS4nuZfEpjATdCofjUM5G7MM70Y9_8zDKg#img> .
  <http://purl.org/np/RAXpJNqlskXDL5aPVVKZSihpACxk7ABFR9l5f6Rx_miPA#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#step> , <http://purl.org/np/RAdytZ_mvHqXS4nuZfEpjATdCofjUM5G7MM70Y9_8zDKg#step> .
  <http://purl.org/np/RAdytZ_mvHqXS4nuZfEpjATdCofjUM5G7MM70Y9_8zDKg#out1> pplan:bindsTo <http://purl.org/np/RA4iUJyBzJlRNUYGQK56Ucj1EocJFtYAtWvPWcIXHoyVw#img> .
  <http://purl.org/np/RAdytZ_mvHqXS4nuZfEpjATdCofjUM5G7MM70Y9_8zDKg#step> pplan:isStepOfPlan sub:plan ;
    dul:precedes <http://purl.org/np/RA4iUJyBzJlRNUYGQK56Ucj1EocJFtYAtWvPWcIXHoyVw#step> .
}
sub:provenance {
  sub:assertion prov:generatedAtTime "2021-06-14T16:44:58.256962"^^xsd:dateTime .
}
sub:pubInfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtTQ1JpnqX5lUuxCZ5ZLa8Jm0a81WWoAxef6EyIhOTFrX9MTS8tEHWgGteg7UEO6DFj2vqRVa5iM9C9qPy9HzRF/6gXJp3y+3prm/N8uGExPcOTpho4nak9eDraN+AjM/BbFJy3DuJMVfW1EtEJcuPU3UNtbnb8QrNbbfIdBwS7QIDAQAB" ;
    npx:hasSignature "qEgyMtjklNZFtWUx15DQPWWN1TUr0PN7GEpfFcBcpQ4yvrckZrwLAxnRzz5hNrm2Q8QXuF8o4omDdhGAORIW3kdOah3+Xi21YOfqV/yn6r8CiZ4NleAXdTIEj2mHoWEtm21v59WY6O4jLOzlNT+QMbAyAqgWdrQjT7+n7GlmBVA=" ;
    npx:hasSignatureTarget this: .
  this: npx:introduces sub:plan ;
    prov:generatedAtTime "2021-06-14T16:44:58.256962"^^xsd:dateTime ;
    prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}