[ { "@graph" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#pubInfo" } ] } ], "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#Head" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#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/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#image1", "@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" : "image1" } ] }, { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#image2", "@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" : "image2" } ] }, { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#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/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#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='An awesome step for creating composite image by blending images using a transparency mask')\ndef mask_image(image1,image2): \n from PIL import Image\n mask = Image.new(\"L\", image1.size, 128)\n new_image = Image.composite(image1, image2, mask)\n return new_image\n" } ], "http://purl.org/dc/terms/language" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#image1" }, { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#image2" } ], "http://purl.org/net/p-plan#hasOutputVar" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#out1" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "An awesome step for creating composite image by blending images using a transparency mask" } ] } ], "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#assertion" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#assertion", "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-14T14:29:55.691028" } ] } ], "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#provenance" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM", "http://purl.org/nanopub/x/introduces" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#step" } ], "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-14T14:29:55.691028" } ], "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0000-0000-0000" } ] }, { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#assertion", "http://www.w3.org/ns/prov#wasDerivedFrom" : [ { "@id" : "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0" } ] }, { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#sig", "http://purl.org/nanopub/x/hasAlgorithm" : [ { "@value" : "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey" : [ { "@value" : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCD0/NXW4aH07lWeqN00hKVsQFT8IArmlwRKAY8IFGV9ijOcjMkxlyXUp3v6tin5/cC4/HgVcv8mEPdCTbIFbnyLf1KmEgLvWs7SE7wIpQFhG79ptwaH3AVfP+BxIZyCXpTIGAV3Fu56yNEyn4nZZELS03O20D9WXDVD7le3RKzUQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature" : [ { "@value" : "Pknuo5WduNMMRWTusELQRapm+vxDHfXDPuufs+ztjHaaDJ2A2rPRhApbJgYY2VkjUewlBVSCIqp5RAJYWKZ+5n1dLbTD2Pl35/3GYNQ0+++wZEtlk426vorzozRxW4yZuAfcP0/exynjl4M3D3droBXa5PD83+6CB6PkgbHgFVY=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM" } ] } ], "@id" : "http://purl.org/np/RAi-VrRGj9IbRkpmxx_CECZyQ7D3J1uw_tzEnODmf6cyM#pubInfo" } ]