@prefix this: . @prefix sub: . @prefix schema: . @prefix bpmn: . @prefix np: . @prefix dc1: . @prefix owl: . @prefix npx: . @prefix pplan: . @prefix xsd: . @prefix rdfs: . @prefix 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 ; owl:versionInfo "3.7.9.final.0" . sub:image a pplan:Variable; rdfs:comment "None"; rdfs:label "image" . sub:out1 a pplan:Variable; rdfs:comment "None"; rdfs:label "out1" . sub:step dc1:description """@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(0.5) new_image = Image.blend(image, new_image, alpha=0.9) return new_image """; dc1:language sub:LinguisticSystem; pplan:hasInputVar sub:image; pplan:hasOutputVar sub:out1; a bpmn:ScriptTask, pplan:Step; rdfs:label "awesome image converter" . } sub:provenance { sub:assertion prov:generatedAtTime "2021-06-14T14:09:54.022556"^^xsd:dateTime . } sub:pubInfo { sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDaCYguTENfhnBguOss5Ko4Se6PbZFiQobmQR6F72q2pSX6bOu5xbfYBNsFU05bN94tOpHZH6K4LNxHpzULkerkMOijLFsVE2s30zMcCE7+euQdMQ/bao3+H98791NXGPDgwVQ0lCipm5oFHteJyyjjrlzsLWqekLyFcY0hvB+8FwIDAQAB"; npx:hasSignature "VRKpDgJkpyKu+n1ardfQh1pfopCwlNmeL/ebIairsZ8L9r0b8ErrELx/cAh+WiSfiGF5DQAh1AiHZIYhCVMQJp/1OnJ33t7sfAQXynaEss4WJI+jNKGG6atDZzTXOT8UQv9s9h8EKKMPIyV0Q+VptpbsYWRdS5T/mrVIXwkqw/s="; npx:hasSignatureTarget this: . this: npx:introduces sub:step; prov:generatedAtTime "2021-06-14T14:09:54.022556"^^xsd:dateTime; prov:wasAttributedTo . }