@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix p-plan: <http://purl.org/net/p-plan#> .
@prefix orcid: <https://orcid.org/> .
@prefix this: <http://purl.org/np/RA7-lyEbiojrEN6aq7XqTWldeRp8MH43V6H-_1Rmzl5hg> .
@prefix sub: <http://purl.org/np/RA7-lyEbiojrEN6aq7XqTWldeRp8MH43V6H-_1Rmzl5hg#> .
@prefix schema: <https://schema.org/> .
@prefix bpmn: <http://dkm.fbk.eu/index.php/BPMN2_Ontology#> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@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.3.final.0" .
  sub:image a p-plan:Variable ;
    rdfs:comment "None" ;
    rdfs:label "image" .
  sub:out1 a p-plan:Variable ;
    rdfs:comment "None" ;
    rdfs:label "out1" .
  sub:step dcterms:description """@is_fairstep(label='awesome image converter')
# Give it your own name:
def awesome_image_converter(image):   
    from PIL import Image, ImageEnhance
    im2 = ImageEnhance.Contrast(image)
    new_image = Image.blend(image, im2, alpha=0.9)
    return new_image
""" ;
    dcterms:language sub:LinguisticSystem ;
    p-plan:hasInputVar sub:image ;
    p-plan:hasOutputVar sub:out1 ;
    a bpmn:ScriptTask , p-plan:Step ;
    rdfs:label "awesome image converter" .
}
sub:provenance {
  sub:assertion prov:generatedAtTime "2021-06-02T10:55:47.327065"^^xsd:dateTime .
}
sub:pubInfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCfrVasAKy4x+S31NiqSMjUj1YgmxqseIaejBQBNyBcLMTR6Id8xkAcZZ9hxkjdqX8cBr0sVNe7vtqJoif+J5AyRNfI6/bk3RPBd2HxTWQYfJJnJk2z2acY7PTO16khW3oZ/N6/jDnZSgj17Sd/xfqHtSX8kskqoK5l0H0wt9b74QIDAQAB" ;
    npx:hasSignature "LGm1VigvkFDZoxf29ieKJDi8p2CebOTC9Y6Br0SpB/h5qawS84O8DOHk174KyyyPj0KUiwHHpi6OOo0DZ/0En5i4MZ5h1G1X7B/otTJrMJmSmyYolYm5c+SOT5SJm/SNqcbLnPDC6KLs/oHoqz9VfPS4GayYBlh0hBULJlPIGcc=" ;
    npx:hasSignatureTarget this: .
  this: npx:introduces sub:step ;
    prov:generatedAtTime "2021-06-02T10:55:47.327065"^^xsd:dateTime ;
    prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}