@prefix ns2: .
@prefix orcid: .
@prefix this: .
@prefix sub: .
@prefix schema: .
@prefix bpmn: .
@prefix np: .
@prefix owl: .
@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:LinguisticSystem a schema:ComputerLanguage;
rdfs:label "python";
rdfs:seeAlso ;
owl:versionInfo "3.8.6.final.0" .
sub:a a pplan:Variable, ;
rdfs:comment "float";
rdfs:label "a" .
sub:b a pplan:Variable;
rdfs:comment "float";
rdfs:label "b" .
sub:out1 a pplan:Variable, ;
rdfs:comment "float";
rdfs:label "out1" .
sub:step ns2:description """@is_fairstep(label='Addition', a='http://www.example.org/distance', returns='http://www.example.org/mass')
def add(a:float, b:float) -> float:
return a + b
""";
ns2:language sub:LinguisticSystem;
pplan:hasInputVar sub:a, sub:b;
pplan:hasOutputVar sub:out1;
a bpmn:ScriptTask, pplan:Step;
rdfs:label "Addition" .
}
sub:provenance {
sub:assertion prov:generatedAtTime "2021-02-10T13:17:57.424048"^^xsd:dateTime .
}
sub:pubInfo {
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB";
npx:hasSignature "hSuWKZz5OiHAFe/aSxpBMKsqp8JiO8cocP6JOI7uv7Q5JZw2qxNFxgkDAzvYlpuS0T8O3J9Vy8hTEAn854Dk2vgGBdviPkFRQJomSP/Vih56q+7jXJtSPBSShm3UhaVGCC6/BTa4a3D0gY4bBWwpJNSUcDBJH1AGQLe2dJ4lHOY=";
npx:hasSignatureTarget this: .
this: npx:introduces sub:step;
prov:generatedAtTime "2021-02-10T13:17:57.424048"^^xsd:dateTime;
prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}