[ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#Head", "@graph": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#assertion", "@graph": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#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/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#plan", "http://purl.org/dc/terms/description": [ { "@value": "@is_fairworkflow(label='takes an images and returns a pencil sketch version')\ndef to_pencil_sketch(original_image):\n gray = rgb2gray_image(original_image)\n neg_gray = invert_colors(gray)\n blur_neg_gray = blur(neg_gray)\n blended = blend_image(gray, blur_neg_gray)\n final = contrast_image(blended, 5)\n return final\n" } ], "http://purl.org/dc/terms/language": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#LinguisticSystem" } ], "@type": [ "http://purl.org/net/p-plan#Plan" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "takes an images and returns a pencil sketch version" } ] }, { "@id": "http://purl.org/np/RA4iUJyBzJlRNUYGQK56Ucj1EocJFtYAtWvPWcIXHoyVw#out1", "http://purl.org/net/p-plan#bindsTo": [ { "@id": "http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#im2" } ] }, { "@id": "http://purl.org/np/RA4iUJyBzJlRNUYGQK56Ucj1EocJFtYAtWvPWcIXHoyVw#step", "http://purl.org/net/p-plan#isStepOfPlan": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#plan" } ], "http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes": [ { "@id": "http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#step" } ] }, { "@id": "http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#step", "http://purl.org/net/p-plan#isStepOfPlan": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#plan" } ], "http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes": [ { "@id": "http://purl.org/np/RALzDTTP2Asu7qHrcHr_tn9UN0YDftstTzlftMcKfiL6Y#step" } ] }, { "@id": "http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#out1", "http://purl.org/net/p-plan#bindsTo": [ { "@id": "http://purl.org/np/RALzDTTP2Asu7qHrcHr_tn9UN0YDftstTzlftMcKfiL6Y#image" } ] }, { "@id": "http://purl.org/np/RALzDTTP2Asu7qHrcHr_tn9UN0YDftstTzlftMcKfiL6Y#step", "http://purl.org/net/p-plan#isStepOfPlan": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#plan" } ] }, { "@id": "http://purl.org/np/RALzDTTP2Asu7qHrcHr_tn9UN0YDftstTzlftMcKfiL6Y#out1", "http://purl.org/net/p-plan#bindsTo": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#result" } ] }, { "@id": "http://purl.org/np/RAXpJNqlskXDL5aPVVKZSihpACxk7ABFR9l5f6Rx_miPA#out1", "http://purl.org/net/p-plan#bindsTo": [ { "@id": "http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#im1" }, { "@id": "http://purl.org/np/RAdytZ_mvHqXS4nuZfEpjATdCofjUM5G7MM70Y9_8zDKg#img" } ] }, { "@id": "http://purl.org/np/RAXpJNqlskXDL5aPVVKZSihpACxk7ABFR9l5f6Rx_miPA#step", "http://purl.org/net/p-plan#isStepOfPlan": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#plan" } ], "http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes": [ { "@id": "http://purl.org/np/RAEnwJKSzMF5-yhJMSLm7mplFckS7NIhD9TE-TP7MVoso#step" }, { "@id": "http://purl.org/np/RAdytZ_mvHqXS4nuZfEpjATdCofjUM5G7MM70Y9_8zDKg#step" } ] }, { "@id": "http://purl.org/np/RAdytZ_mvHqXS4nuZfEpjATdCofjUM5G7MM70Y9_8zDKg#step", "http://purl.org/net/p-plan#isStepOfPlan": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#plan" } ], "http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#precedes": [ { "@id": "http://purl.org/np/RA4iUJyBzJlRNUYGQK56Ucj1EocJFtYAtWvPWcIXHoyVw#step" } ] }, { "@id": "http://purl.org/np/RAdytZ_mvHqXS4nuZfEpjATdCofjUM5G7MM70Y9_8zDKg#out1", "http://purl.org/net/p-plan#bindsTo": [ { "@id": "http://purl.org/np/RA4iUJyBzJlRNUYGQK56Ucj1EocJFtYAtWvPWcIXHoyVw#img" } ] } ] }, { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#provenance", "@graph": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T16:44:58.256962", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] }, { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtTQ1JpnqX5lUuxCZ5ZLa8Jm0a81WWoAxef6EyIhOTFrX9MTS8tEHWgGteg7UEO6DFj2vqRVa5iM9C9qPy9HzRF/6gXJp3y+3prm/N8uGExPcOTpho4nak9eDraN+AjM/BbFJy3DuJMVfW1EtEJcuPU3UNtbnb8QrNbbfIdBwS7QIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "qEgyMtjklNZFtWUx15DQPWWN1TUr0PN7GEpfFcBcpQ4yvrckZrwLAxnRzz5hNrm2Q8QXuF8o4omDdhGAORIW3kdOah3+Xi21YOfqV/yn6r8CiZ4NleAXdTIEj2mHoWEtm21v59WY6O4jLOzlNT+QMbAyAqgWdrQjT7+n7GlmBVA=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs" } ] }, { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RA4BpjsscTEKIHVXHVX24b2krztdCvoLyFoPqRWd8tLbs#plan" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T16:44:58.256962", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0000-0000-0000" } ] } ] } ]