[ { "@graph" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#pubInfo" } ] } ], "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#Head" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#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.3.final.0" } ] }, { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#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/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#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/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#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 function to flip an image from left to right')\ndef my_awesome_flipping(image): \n from PIL import Image\n # Flip the image from left to right\n image_flipped = image.transpose(method=Image.FLIP_LEFT_RIGHT)\n return image_flipped\n" } ], "http://purl.org/dc/terms/language" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#image" } ], "http://purl.org/net/p-plan#hasOutputVar" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#out1" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "An awesome function to flip an image from left to right" } ] } ], "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#assertion" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#assertion", "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-01T20:06:04.497571" } ] } ], "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#provenance" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE", "http://purl.org/nanopub/x/introduces" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#step" } ], "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-01T20:06:04.497571" } ], "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0000-0000-0000" } ] }, { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#sig", "http://purl.org/nanopub/x/hasAlgorithm" : [ { "@value" : "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey" : [ { "@value" : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgjHTy9VC1oVcBVJd6ia5ufTgfZufquw05AmoBMkDcUlO7u/4c3AYZJUcdWIW/1tqyXCP8akvjVivvygPcH309w/Uc/CU7FnKAPvwgUtvS3YdukgRmWG+UuomI9Z0U38FK93f1C4gycXn6I9q2vrUnaAAqU8wOAEU0mBcJUKZROQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature" : [ { "@value" : "bQhf/WGfHGi6tTnGjvjlNiUwXt9Uw3AeZNO79kzL92iu/xXJqsLlhSLFLreyZdeuP8O+ZBxsuMd1op8nYyzV5ZatmUafW7pTRPVLc7xtpTAMsRNgkYQRKAXtEUMNp7NsVRoVzEVJHXt6ZTEgvvwn/hr5zTAhjl/I/WkgFXV1TPg=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE" } ] } ], "@id" : "http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#pubInfo" } ]