[ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#Head", "@graph": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#assertion", "@graph": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#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.0.final.0" } ] }, { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#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/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#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/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#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/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#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/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#image1" }, { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#image2" } ], "http://purl.org/net/p-plan#hasOutputVar": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#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": "An awesome step for creating composite image by blending images using a transparency mask" } ] } ] }, { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#provenance", "@graph": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-05-19T13:53:10.987079", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] }, { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDXN4+Lgjiby7GIe7lqlo8YV8HQjLBJOG5peGarEdyWU+FapIlKKZTtfbdmyzNLOrcRCMvuxwc4IxpI1m9+/H4H/8BuZWkF0/UvGWF4clG8vhGJcKvZHp4ttwZMRvyNvb6DqBsRV4W/uU+VMEh+h4ooxqbAwXTj3T08fHKTxA2EwQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "i7Frgo3Jtxev8/91/BvYTYLzx01arZLo70124EFSeEtsO2Z4UHimy1D+fnI1p11WbnJYVzybraZoy5Evu8Qf219gPj1rIoM4Hgz1+kNOt0s3kwX4PRMkVaqQPvWBq55SDrITrMSzJUHuExnDscl26C9cPmElwhZDmIMWnJSw+zo=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0" } ] }, { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RAtoh3Nlrk2wtgblyWnF26Prv2tBnOcXaPFfB7NpOQ4z0#step" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-05-19T13:53:10.987079", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0001-9493-3167" } ] } ] } ]