[ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#assertion", "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "http://purl.org/np/RAj8RsCpDuSiA34oHKhetYaN3ZyV8V9xBOSeUCtG-nEgY" } ] }, { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCPAyJFCA2/PdKLTXBCgKMLwE6LPIGMm9gINqjvPvOQVp2oZ0ZqB0v7Y/b7FqF90XUvbztM+GW5dsmMQUeuF+fty/5f2udsUnfHRmJQKiHxPNk9hdHwW5+1Tegh9dhwyPjJDWnGq36d+2j/EDIXqNiLI4xru5NY4G0c4FcS8YQRCQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "f/yAT6M32Zxb/eO5QIGIcwMNXdFtnC6djkR42XRVoMkqJKarChVMtbE9E7/QauD7TlcRGzMJkClMHSV/Ns78NN68IJHlAoqDGQL0q5OYKG0V4oneTr/fR5HbADnvIBLfkhGcLeZDqYD4+oGXEsTz05/j3cbSWFhjcjIRPrDfxIk=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs" } ] }, { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#step" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T16:28:01.206515", "@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/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#assertion", "@graph": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#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/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#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/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#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/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#step", "http://purl.org/dc/terms/description": [ { "@value": "@is_fairstep(label='Step to add text (awesome world!) into an image')\n# Give it your own name:\ndef add_text_into_image(image):\n from PIL import ImageDraw\n from PIL import Image\n ImageDraw.Draw(\n image).text( (0, image.height/2), # Coordinates\n 'Awesome world!', # Text\n (255, 255, 255) # Color\n )\n return image\n" } ], "http://purl.org/dc/terms/language": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#image" } ], "http://purl.org/net/p-plan#hasOutputVar": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#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": "Step to add text (awesome world!) into an image" } ] } ] }, { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#Head", "@graph": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#provenance", "@graph": [ { "@id": "http://purl.org/np/RAEa932jL5Z-sh1ibk4iTwsqXw-nHGzayEB41u8SjLjHs#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T16:28:01.206515", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] } ]