@prefix dcterms: <
http://purl.org/dc/terms/
> .
@prefix p-plan: <
http://purl.org/net/p-plan#
> .
@prefix orcid: <
https://orcid.org/
> .
@prefix this: <
http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE
> .
@prefix sub: <
http://purl.org/np/RAI2F1LNi-WJumt2eAYtwseJrtLY85x01g_i79rT02IxE#
> .
@prefix schema: <
https://schema.org/
> .
@prefix bpmn: <
http://dkm.fbk.eu/index.php/BPMN2_Ontology#
> .
@prefix np: <
http://www.nanopub.org/nschema#
> .
@prefix owl: <
http://www.w3.org/2002/07/owl#
> .
@prefix npx: <
http://purl.org/nanopub/x/
> .
@prefix xsd: <
http://www.w3.org/2001/XMLSchema#
> .
@prefix rdfs: <
http://www.w3.org/2000/01/rdf-schema#
> .
@prefix prov: <
http://www.w3.org/ns/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
<
https://www.wikidata.org/wiki/Q28865
> ;
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
.
}