[ { "@graph" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#pubInfo" } ] } ], "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#Head" }, { "@graph" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#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/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#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/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#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/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#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/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#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='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/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#image" }, { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#ratio" } ], "http://purl.org/net/p-plan#hasOutputVar" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#out1" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "contrast image by factor" } ] } ], "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#assertion" }, { "@graph" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#assertion", "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-14T16:02:58.324724" } ] } ], "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#provenance" }, { "@graph" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE", "http://purl.org/nanopub/x/introduces" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#step" } ], "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-06-14T16:02:58.324724" } ], "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0000-0000-0000" } ] }, { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#assertion", "http://www.w3.org/ns/prov#wasDerivedFrom" : [ { "@id" : "http://purl.org/np/RAY1W7VRGwNznJp18etfmPczbkQlvFRK8mSVj8x-jCtl8" } ] }, { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#sig", "http://purl.org/nanopub/x/hasAlgorithm" : [ { "@value" : "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey" : [ { "@value" : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMC8tJ/NTnPLa3X73B+wxs7TTnL2yn2z1cNSywMAzbumK+o9XXnAqhdGJKzpPrWNbw3xT3XVY+Fd3mQaH2aeQxUpd/HG4HOmDoRiAeCNGzecHXwh09kzRixG0PuPPiMZ6XMG69vFosG+c2l75ceUrRM7XUs0+OZM1O0CX1aQEUaQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature" : [ { "@value" : "jWmHJJ9vsF0h+R4CLC/StlM6J7gn3k1iXpMufKrkMwPB2qrscYt2TlMVhh7J6HgS/9+BOeOdsP6QxRW4W+POJmTRUUWHAKjvH2jazpAArzY76b7+HZ5PI7M8yONh47SFJC+b/CmpMYHN//CVJSv9D08/ARnUp0DY6Co8wWc0pls=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE" } ] } ], "@id" : "http://purl.org/np/RATMoGh9M89Zh5fVupK66YF5dtDN_q7JQ0ROFeA5T7PRE#pubInfo" } ]