[ { "@graph" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#pubInfo" } ] } ], "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#Head" }, { "@graph" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#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/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#img", "@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" : "img" } ] }, { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#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/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#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='Inverting the colors of an image')\ndef invert_colors(img):\n from PIL import Image, ImageOps\n return ImageOps.invert(img)\n" } ], "http://purl.org/dc/terms/language" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#img" } ], "http://purl.org/net/p-plan#hasOutputVar" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#out1" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "Inverting the colors of an image" } ] } ], "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#assertion" }, { "@graph" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#assertion", "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-14T16:22:44.609848" } ] } ], "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#provenance" }, { "@graph" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0", "http://purl.org/nanopub/x/introduces" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#step" } ], "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-14T16:22:44.609848" } ], "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0000-0000-0000" } ] }, { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#assertion", "http://www.w3.org/ns/prov#wasDerivedFrom" : [ { "@id" : "http://purl.org/np/RAy_jSF2DvGXu_vYCOhwgH3aPmxtRa_99lGIQJGBPeRCI" } ] }, { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#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" : "R5xWMPpgO9e20RwLxzlTu20VwPQNzEztXbj8AvJfypIqcQ6eRyYRNJGqR6SeK20uXgK9yJAgLzkjtexD0Kpux0JYycjbm9Wkb0I8gyntfqknB/nFG8yvl2TAuu8+OVPUiOHAcjyUVt7pQXXNfTBNYcyDdSrc4EfRLlw6CpYejXU=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0" } ] } ], "@id" : "http://purl.org/np/RA4KOD-riGUVc9Xwse_1eOVVZgtemCwvDPJZEI386Zkr0#pubInfo" } ]