[ { "@graph" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#pubInfo" } ] } ], "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#Head" }, { "@graph" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#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/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#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/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#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/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#a" }, { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#b" } ], "http://purl.org/net/p-plan#hasOutputVar" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#sub-output1" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "Subtraction" } ] }, { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#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/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#assertion" }, { "@graph" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#assertion", "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-01-24T21:24:55.370731" } ] } ], "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#provenance" }, { "@graph" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc", "http://purl.org/nanopub/x/introduces" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#step" } ], "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-01-24T21:24:55.370731" } ], "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0000-0000-0000" } ] }, { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#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" : "RkP9auWITZejeTQ/ljdkxZ+CO0TbT70JCQhIbDbJY9W8eIMqp1ECY7ko//l+/QEbvv+eMJ9O6MmMg9o/HCIXi3Wb5YlB1C9unJOptXjzsBKN29Fplfj8oAIg6BI0hs/cdUJtI8yoH4v+Ma+8VFRXMoJvlEr1Q2aPCdO6dGCLX88=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc" } ] } ], "@id" : "http://purl.org/np/RA61fyh83dWQqiVa1qrCHBglGc_T-VW6i3YIo-Wjur7sc#pubInfo" } ]