[ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#assertion", "@graph": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#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/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#img", "@type": [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/2000/01/rdf-schema#comment": [ { "@value": "float" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "img" } ] }, { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#out1", "@type": [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/2000/01/rdf-schema#comment": [ { "@value": "float" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "out1" } ] }, { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#step", "http://purl.org/dc/terms/description": [ { "@value": "@is_fairstep(label='Convert the RGB color image to grayscale')\ndef image_RGB2Gray(img:float) -> float:\n image_gray = img.convert('L')\n return image_gray\n" } ], "http://purl.org/dc/terms/language": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#img" } ], "http://purl.org/net/p-plan#hasOutputVar": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#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" } ] } ] }, { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#Head", "@graph": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#provenance", "@graph": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T17:08:31.741446", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] }, { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCv0G5BIY0o0/ONHMQIggW+QXHEUcQJpY0KT8sDouETxw576phhzXtm1MjbuWmBP7kgBlbyhhObr6+/wXbtcuaUlFPupbRtArO/N3C7rhadtd5ZKqyj8Je+ku8vt7DcfR3qBWyNxSGyUrVZaWfM+r1cr6X/CaT6KQqv+D9BWpyKZwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "kmOAX3OEESX0QlBUd3i0JmaZXLRpvM/BP3MJeIPyZ44OWh7nskhmL89SDZn0BlS0IORBJROJr9kIIPr9oSBGC3vqQ0fS6m3c8rojha0v+FBewOq51+JP/ybkcspTbxdIb16hGuTvy/pwsZ2jQVIWnE7Rn8Ehw6oWto7VQ1p8xHc=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI" } ] }, { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RAXnTLO9xYoy_9VZGvcbd7UafckIOdDLohqEuEnWUKEoI#step" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T17:08:31.741446", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0000-0000-0000" } ] } ] } ]