[ { "@graph" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#pubInfo" } ] } ], "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#Head" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#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/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#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/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#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/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#a" }, { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#b" } ], "http://purl.org/net/p-plan#hasOutputVar" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#sub-output1" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "Subtraction" } ] }, { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#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/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#assertion" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#assertion", "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-01-24T20:44:51.617557" } ] } ], "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#provenance" }, { "@graph" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU", "http://purl.org/nanopub/x/introduces" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#step" } ], "http://www.w3.org/ns/prov#generatedAtTime" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2021-01-24T20:44:51.617557" } ], "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0000-0000-0000" } ] }, { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#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" : "W+YcRpjG9b+ZKza87cByfGQzHTpc7mVJ6ktmPLqbL0BUv8qG/jhD4p0gJll4OO/oLwamn/be8R7qv3YrmR3unaNCytf696Jn4i0ksTLjIIUa0q8jbSp7PY9OamRoRp+WKbcn9FPhVehoXQn3nfzRJxLyV6HcCxMW6eSNJv4UTqc=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU" } ] } ], "@id" : "http://purl.org/np/RAtmjtY1D_I6BMafJ43jY35eFdHlyFZuSNrUe2HZmlRAU#pubInfo" } ]