[ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#assertion", "@graph": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#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/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#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/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#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/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#ratio", "@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": "ratio" } ] }, { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#step", "http://purl.org/dc/terms/description": [ { "@value": "@is_fairstep(label='contrast image by factor')\ndef contrast_image(image, ratio): \n from PIL import Image, ImageEnhance\n new_image= image.convert('RGB')\n new_image = ImageEnhance.Contrast(image)\n new_image= new_image.enhance(ratio)\n return new_image\n" } ], "http://purl.org/dc/terms/language": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#image" }, { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#ratio" } ], "http://purl.org/net/p-plan#hasOutputVar": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#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": "contrast image by factor" } ] } ] }, { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#assertion", "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "http://purl.org/np/RAY1W7VRGwNznJp18etfmPczbkQlvFRK8mSVj8x-jCtl8" } ] }, { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCLhcv1SyvzcXgvMXEoNZBLxEmab0CGwZCTDKHjBwxqvchNBVkPtedUGxhxztFu+TkuvdeuaaO2Wn4DJYNkOjCJb/uQHHf8DwlBJ+Damvt4kUZO/AkZ9XIIAbYAizMZMdJmuB9qlv1aJ24fyib12hGLgpgI7Z2Cs5DK+s345J6B8QIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "eCYGoWi7Ihp6HBxw6yHsJIsX9O549MisAfqs98qJqRaCG57cww0dyj43wSCNG5kQUni2xqgR8BnG2d/rUycSoHWC8gnIgOAA8pHVJE2bvR0krNvkHaZqISUhngIN0aq4A8ArQatWMVjbH/bL0NhmfFkmH1Imo7T53zG49IbEN0E=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4" } ] }, { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#step" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T15:48:29.755653", "@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/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#Head", "@graph": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#provenance", "@graph": [ { "@id": "http://purl.org/np/RA7eTc4N8CDcrx5PH7MtrKDpREykl3Y8lVVpwuBqFYGA4#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T15:48:29.755653", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] } ]