@prefix dcterms: .
@prefix p-plan: .
@prefix orcid: .
@prefix this: .
@prefix sub: .
@prefix schema: .
@prefix bpmn: .
@prefix np: .
@prefix owl: .
@prefix npx: .
@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.7.3.final.0" .
sub:angle_rotation a p-plan:Variable;
rdfs:comment "float";
rdfs:label "angle_rotation" .
sub:image a p-plan:Variable;
rdfs:comment "None";
rdfs:label "image" .
sub:out1 a p-plan:Variable;
rdfs:comment "None";
rdfs:label "out1" .
sub:step dcterms:description """@is_fairstep(label='Awesome step for rotating an image')
# Give it your own name:
def rotate_image(image, angle_rotation: float):
new_image = image.rotate(angle=angle_rotation)
return new_image
""";
dcterms:language sub:LinguisticSystem;
p-plan:hasInputVar sub:angle_rotation, sub:image;
p-plan:hasOutputVar sub:out1;
a bpmn:ScriptTask, p-plan:Step;
rdfs:label "Awesome step for rotating an image" .
}
sub:provenance {
sub:assertion prov:generatedAtTime "2021-05-31T11:17:58.282197"^^xsd:dateTime .
}
sub:pubInfo {
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCdVnwm9U6RsHulqakVBWBGmrclTfYPaVWW/DPGEd0a3tMMC68N+JM0R9oJMyrEUktbxkjZ8+P53x+6vL1JH3tuD9H98gvry8kH99lyIlWyR+KfPYjXzEIgsWd2n7wlldh5OtviLWOLObPus5wuP/l7RSbG1+ow/EF0PTqvRK/TKQIDAQAB";
npx:hasSignature "bYPcGHq+ymLhBrxrGHcDADlq1J7BE4pKaVGTOdm+nT7rh+1P7mcF4ivIAZ1sxCKP3dzQ5YgAXvoHdSrLlNGsOLnM1heMiZsf2JPch3uxKNCDB9KHFUNTb3VnbsXMg9y1a/Ylt4NzHfeUQoaXtTI9FRHzR5n3RUYC/VpHNEh4r68=";
npx:hasSignatureTarget this: .
this: npx:introduces sub:step;
prov:generatedAtTime "2021-05-31T11:17:58.282197"^^xsd:dateTime;
prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}