@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:img a pplan:Variable; rdfs:comment "float"; rdfs:label "img" . sub:out1 a pplan:Variable; rdfs:comment "float"; rdfs:label "out1" . sub:step dc1:description """@is_fairstep(label='Convert the RGB color image to grayscale') def image_RGB2Gray(img:float) -> float: image_gray = img.convert('L') return image_gray """; dc1:language sub:LinguisticSystem; pplan:hasInputVar sub:img; pplan:hasOutputVar sub:out1; a bpmn:ScriptTask, pplan:Step; rdfs:label "Convert the RGB color image to grayscale" . } sub:provenance { sub:assertion prov:generatedAtTime "2021-06-14T15:14:40.842238"^^xsd:dateTime . } sub:pubInfo { sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCv0G5BIY0o0/ONHMQIggW+QXHEUcQJpY0KT8sDouETxw576phhzXtm1MjbuWmBP7kgBlbyhhObr6+/wXbtcuaUlFPupbRtArO/N3C7rhadtd5ZKqyj8Je+ku8vt7DcfR3qBWyNxSGyUrVZaWfM+r1cr6X/CaT6KQqv+D9BWpyKZwIDAQAB"; npx:hasSignature "WUtQh/v/FS5R20jBKhrCR0BQqsd5Pe1FrgLsEJJwqpOgYV0VbCuPERfF27BohM00WGaPVdCiwFWosEW/Q97Oh6H/n+CGK0hhb110W3E5RJGKeRKRd6liN6kHnBhbF1iWb+ms1nZtA0M+3GjXQ9X4BUf0QSOgf8tgrlSI12r9YZ0="; npx:hasSignatureTarget this: . this: npx:introduces sub:step; prov:generatedAtTime "2021-06-14T15:14:40.842238"^^xsd:dateTime; prov:wasAttributedTo . }