[ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#Head", "@graph": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#provenance", "@graph": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T15:14:42.621655", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] }, { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCv0G5BIY0o0/ONHMQIggW+QXHEUcQJpY0KT8sDouETxw576phhzXtm1MjbuWmBP7kgBlbyhhObr6+/wXbtcuaUlFPupbRtArO/N3C7rhadtd5ZKqyj8Je+ku8vt7DcfR3qBWyNxSGyUrVZaWfM+r1cr6X/CaT6KQqv+D9BWpyKZwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "EGXRl7/ESeHaOgiypp3Hcc1JuED2dqsSblKIJCFlAGBKDMW7pgrNVk7qsx90+vCKcIWkeq4Hso2qRVCxmAny0X3M9pEyqzljaOuXqL0MycAqj57gx6M1y1OAvSJKYRpK6IZea+oKHXmWpDNGfDdw4fCd1XfozDPmBJ/A65EQqLU=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo" } ] }, { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#step" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T15:14:42.621655", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0000-0000-0000" } ] } ] }, { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#assertion", "@graph": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#LinguisticSystem", "@type": [ "https://schema.org/ComputerLanguage" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "python" } ], "http://www.w3.org/2000/01/rdf-schema#seeAlso": [ { "@id": "https://www.wikidata.org/wiki/Q28865" } ], "http://www.w3.org/2002/07/owl#versionInfo": [ { "@value": "3.7.9.final.0" } ] }, { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#img", "@type": [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/2000/01/rdf-schema#comment": [ { "@value": "float" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "img" } ] }, { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#out1", "@type": [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/2000/01/rdf-schema#comment": [ { "@value": "float" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "out1" } ] }, { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#step", "http://purl.org/dc/terms/description": [ { "@value": "@is_fairstep(label='Invert the grayscale image to get a negative')\ndef image_Gray2Negative(img:float) -> float:\n img_negative = PIL.ImageOps.invert(img)\n return img_negative\n" } ], "http://purl.org/dc/terms/language": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#img" } ], "http://purl.org/net/p-plan#hasOutputVar": [ { "@id": "http://purl.org/np/RARGNJh20nS1KacD7iBG1I6K6tl4XnenPJ0umiJp8hEoo#out1" } ], "@type": [ "http://dkm.fbk.eu/index.php/BPMN2_Ontology#ScriptTask", "http://purl.org/net/p-plan#Step" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Invert the grayscale image to get a negative" } ] } ] } ]