[ { "@graph" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#pubInfo" } ] } ], "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#Head" }, { "@graph" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#a", "@type" : [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [ { "@value" : "float" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "a" } ] }, { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#b", "@type" : [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [ { "@value" : "float" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "b" } ] }, { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#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='Subtraction')\ndef sub(a: float, b: float) -> float:\n \"\"\"Subtracting numbers.\"\"\"\n return a - b\n" } ], "http://purl.org/net/p-plan#hasInputVar" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#a" }, { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#b" } ], "http://purl.org/net/p-plan#hasOutputVar" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#sub-output1" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "Subtraction" } ] }, { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#sub-output1", "@type" : [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [ { "@value" : "float" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "sub-output1" } ] } ], "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#assertion" }, { "@graph" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#assertion", "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-01-24T22:04:25.558721" } ] } ], "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#provenance" }, { "@graph" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M", "http://purl.org/nanopub/x/introduces" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#step" } ], "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-01-24T22:04:25.558721" } ], "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0000-0000-0000" } ] }, { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#sig", "http://purl.org/nanopub/x/hasAlgorithm" : [ { "@value" : "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey" : [ { "@value" : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature" : [ { "@value" : "nYhrJeIfIiHzkoCMbpMJzi6xr2ZpNdf/77/C48tyh6/CiO3j1iPdrNju86o84vWyjiM8nx86ozliunwU4gL4KDGOVYPzAsbo3MLH5w5Fe7knClHJ9eGL7qXGSHxBkGZWiNawRIvrCsvDo4z5TqupGg+cshJdCShpWe5fv6UCZyc=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M" } ] } ], "@id" : "http://purl.org/np/RApuTIG25S29I67COnbhNkF0a32Vk5MD9QA-f3KDVq-3M#pubInfo" } ]