[ { "@graph" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#pubInfo" } ] } ], "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#Head" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#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/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#image", "@type" : [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/2000/01/rdf-schema#comment" : [ { "@value" : "None" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "image" } ] }, { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#out1", "@type" : [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/2000/01/rdf-schema#comment" : [ { "@value" : "None" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "out1" } ] }, { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#step", "@type" : [ "http://dkm.fbk.eu/index.php/BPMN2_Ontology#ScriptTask", "http://purl.org/net/p-plan#Step" ], "http://purl.org/dc/terms/description" : [ { "@value" : "@is_fairstep(label='Convert image to grayscale')\ndef rgb2gray_image(image): \n from PIL import Image\n new_image = image.convert('L')\n return new_image\n" } ], "http://purl.org/dc/terms/language" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#image" } ], "http://purl.org/net/p-plan#hasOutputVar" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#out1" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "Convert image to grayscale" } ] } ], "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#assertion" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#assertion", "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-14T16:32:04.046795" } ] } ], "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#provenance" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI", "http://purl.org/nanopub/x/introduces" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#step" } ], "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-14T16:32:04.046795" } ], "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0000-0000-0000" } ] }, { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#assertion", "http://www.w3.org/ns/prov#wasDerivedFrom" : [ { "@id" : "http://purl.org/np/RA_53u4yrUqoWcZMyzsOCba-E5QMBdLZ7Dn_rPWUcfgU8" } ] }, { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#sig", "http://purl.org/nanopub/x/hasAlgorithm" : [ { "@value" : "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey" : [ { "@value" : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMaX0e6Wh4s+QVm3Ktqp6oO9YXldQJwAnPWzobW5b8TQvBgEFIwoWzZCHbGQinVFCKLFJ3bLjMtEwl1mCcSDeGTJQv1Hf7aM9LvicLHqOZOS5nOAE/e+ibOzXnSdQV6W7ooOBY368j76WGmMocEt/3mbGkQfhbgRGlYMyHtgTQfQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature" : [ { "@value" : "g952ORH0tdiYVeA3yfaGKezCzLrAniKcE3DvH7WrBcoKL1Ua1UthUCragv0fOlI2sNLeNUHyVa7euF1Bd6ltGLKPjvbGpWuogKubskdrSUdN9G/2lPOE0YGUN9p2qGF7OekfY++um1Dt0qqrk27Wl3EwwIbzeozGYvVPnCdkUNg=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI" } ] } ], "@id" : "http://purl.org/np/RAvQfxKkQJxfVX-9uWUYxhNj9XSuLQGJ4In1mhFrTwbOI#pubInfo" } ]