[ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#Head", "@graph": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#provenance", "@graph": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T14:21:52.714053", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] }, { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCD0/NXW4aH07lWeqN00hKVsQFT8IArmlwRKAY8IFGV9ijOcjMkxlyXUp3v6tin5/cC4/HgVcv8mEPdCTbIFbnyLf1KmEgLvWs7SE7wIpQFhG79ptwaH3AVfP+BxIZyCXpTIGAV3Fu56yNEyn4nZZELS03O20D9WXDVD7le3RKzUQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "M1jWHvrdV6I9BIbWApgF7MfN332f0KB0rdC6zpFm5Isxg6G34Y9vlryL4/8cUQodrg/7Tqlfh2TjRNV3g5r5BY0WFPhzhooSpz1DI8Y4+m3ghsZu9A/L0vbRrHxkW5zsZ7JN/XHPBYIjeQXBL4md62PtLLF/6JdhYpEjUnHoPQY=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo" } ] }, { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#step" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T14:21:52.714053", "@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/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#assertion", "@graph": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#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/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#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/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#rgb", "@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": "rgb" } ] }, { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#step", "http://purl.org/dc/terms/description": [ { "@value": "@is_fairstep(label='Convert the RGB color image to grayscale')\ndef grayscale(rgb): return np.dot(rgb[...,:3], [0.299, 0.587, 0.114])\n" } ], "http://purl.org/dc/terms/language": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#rgb" } ], "http://purl.org/net/p-plan#hasOutputVar": [ { "@id": "http://purl.org/np/RAXhUK6JfMH8X-NvY8F1GMRjRe7250z2bsJd_BFtWzGfo#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": "Convert the RGB color image to grayscale" } ] } ] } ]