@prefix ns2: .
@prefix orcid: .
@prefix this: .
@prefix sub: .
@prefix bpmn: .
@prefix np: .
@prefix npx: .
@prefix pplan: .
@prefix xsd: .
@prefix rdfs: .
@prefix prov: .
sub:Head {
this: np:hasAssertion sub:assertion;
np:hasProvenance sub:provenance;
np:hasPublicationInfo sub:pubInfo;
a np:Nanopublication .
}
sub:assertion {
sub:a a "float", pplan:Variable;
rdfs:label "a" .
sub:add-output1 a "float", pplan:Variable;
rdfs:label "add-output1" .
sub:b a "float", pplan:Variable;
rdfs:label "b" .
sub:step ns2:description """@is_fairstep(label='Addition')
def add(a:float, b:float) -> float:
\"\"\"Adding up numbers!\"\"\"
return a + b
""";
pplan:hasInputVar sub:a, sub:b;
pplan:hasOutputVar sub:add-output1;
a bpmn:ScriptTask, pplan:Step;
rdfs:label "Addition" .
}
sub:provenance {
sub:assertion prov:generatedAtTime "2021-01-24T20:17:35.781653"^^xsd:dateTime .
}
sub:pubInfo {
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB";
npx:hasSignature "JwumUzY6NSDVPzEZLTL9w0OP3dsTyvZqotD+RPyoB+J0M1/Z+wJOqKBc2FLN7ADrAQAZ7MxRPgwy8V2kLJX4bpU0oQQCoGPD73PtnFDnvs8q3RIfDyuRv6xlZQa9U2its3qiZQz9WEx0F2xgM4jGYIaVDmaVgkoZJ+qTKAael6M=";
npx:hasSignatureTarget this: .
this: npx:introduces sub:step;
prov:generatedAtTime "2021-01-24T20:17:35.781653"^^xsd:dateTime;
prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}