@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: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='An awesome function to flip an image from left to right')
def my_awesome_flipping(image):
from PIL import Image
# Flip the image from left to right
image_flipped = image.transpose(method=Image.FLIP_LEFT_RIGHT)
return image_flipped
""";
dcterms:language sub:LinguisticSystem;
p-plan:hasInputVar sub:image;
p-plan:hasOutputVar sub:out1;
a bpmn:ScriptTask, p-plan:Step;
rdfs:label "An awesome function to flip an image from left to right" .
}
sub:provenance {
sub:assertion prov:generatedAtTime "2021-06-01T20:06:04.497571"^^xsd:dateTime .
}
sub:pubInfo {
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgjHTy9VC1oVcBVJd6ia5ufTgfZufquw05AmoBMkDcUlO7u/4c3AYZJUcdWIW/1tqyXCP8akvjVivvygPcH309w/Uc/CU7FnKAPvwgUtvS3YdukgRmWG+UuomI9Z0U38FK93f1C4gycXn6I9q2vrUnaAAqU8wOAEU0mBcJUKZROQIDAQAB";
npx:hasSignature "bQhf/WGfHGi6tTnGjvjlNiUwXt9Uw3AeZNO79kzL92iu/xXJqsLlhSLFLreyZdeuP8O+ZBxsuMd1op8nYyzV5ZatmUafW7pTRPVLc7xtpTAMsRNgkYQRKAXtEUMNp7NsVRoVzEVJHXt6ZTEgvvwn/hr5zTAhjl/I/WkgFXV1TPg=";
npx:hasSignatureTarget this: .
this: npx:introduces sub:step;
prov:generatedAtTime "2021-06-01T20:06:04.497571"^^xsd:dateTime;
prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}