[ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#provenance", "@graph": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-02-09T16:18:17.096277", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] }, { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#Head", "@graph": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#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": "Itz65KhTgrZqUSvi7nv3bEUWYgjEQgjuqpAm2egI4KLl4OWXMzqKcja+bRaScr+itK3nDF7STfJAqhc6PO4NuSWpqu1E7MPvJ4nu0CwcIC1fOF2xPOYZdfqTB2eaSXsCpDyNhCGubTBGxehB+RqhgIWZK03On0565XZXNNL5/LA=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko" } ] }, { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#step" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-02-09T16:18:17.096277", "@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/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#assertion", "@graph": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#a", "@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": "a" } ] }, { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#b", "@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": "b" } ] }, { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#code", "https://schema.org/programmingLanguage": [ { "@value": "python 3.8.6" } ], "https://schema.org/text": [ { "@value": "@is_fairstep(label='Addition and subtraction', returns=(['http://www.example.org/distance', 'http://www.example.org/number'], None))\ndef another_step(a:float, b:float) -> Tuple[float, float]:\n \"\"\"This step returns an addition and a subtraction of its inputs\"\"\"\n return a + b, a - b\n" } ] }, { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#out1", "@type": [ "http://purl.org/net/p-plan#Variable", "http://www.example.org/distance", "http://www.example.org/number" ], "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/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#out2", "@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": "out2" } ] }, { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#step", "http://purl.org/dc/terms/description": [ { "@value": "This step returns an addition and a subtraction of its inputs" } ], "http://purl.org/net/p-plan#hasInputVar": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#a" }, { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#b" } ], "http://purl.org/net/p-plan#hasOutputVar": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#out1" }, { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#out2" } ], "@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": "Addition and subtraction" } ], "https://schema.org/SoftwareSourceCode": [ { "@id": "http://purl.org/np/RAlmPhtMIe-taJ-JDus6xjNPmABe_ym-le3KZyNWksCko#code" } ] } ] } ]