[ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#assertion", "@graph": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#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.8.3.final.0" } ] }, { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#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/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#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/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#step", "http://purl.org/dc/terms/description": [ { "@value": "@is_fairstep(label='Invert image')\ndef invert_image(image): \n from PIL import Image, ImageOps\n im_inverted = ImageOps.invert(image.convert('RGB') ).convert('L')\n return im_inverted\n" } ], "http://purl.org/dc/terms/language": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#image" } ], "http://purl.org/net/p-plan#hasOutputVar": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#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": "Invert image" } ] } ] }, { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCOqbrPT5RmzxsvRXGHZSAXPzeRLt9ogiosL3tcPKC0g5J8B1577lnJ3oVKSfD80lgPJdr9K671RazGL/mkZ/yu/uCNqne07Q9jd6OIAEi3fldiVfGK8ZDh43rGWRuG+BlvbZ1lZRFrWsURTKTpMgh0C6vJFRIMkWH6ImbZC5JbbQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "RW2XH1RqPKhDBGdhn0FVkyw3gWUEPWY3pdd9fDzmbFIBse8fq8JgzdwJ+6kSot6SPrBFpn31mKwuFIaAOFo95HhCrJtcSOAV/4l/tmz1Gzbh96VijIjAOSuj2wdFHew7KclCk9LAvL4woBuVYAYwqVqdXm3GwOXN36/1BKKO+cM=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk" } ] }, { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#step" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-04-30T15:30:06.316971", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0001-7769-4272" } ] } ] }, { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#Head", "@graph": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#provenance", "@graph": [ { "@id": "http://purl.org/np/RAY4ToM3TgFasdOYoibW8L_AIwo9PLmq8aBTjBtVoSoXk#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-04-30T15:30:06.316971", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] } ]