Rotating an image represented as a string by 180 degrees
Full identifier: http://purl.org/np/RApSN9ryCI2V1HhSAKEdo5H1FhBBaVs5-s4NR_wckvHxo
Status
Checking for updates...
Nanopublication
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#imgstr
imgstr
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
type
(this is a literal)
"str"
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#imgstr
imgstr
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
type
http://purl.org/net/p-plan#Variable
Variable
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#imgstr
imgstr
http://www.w3.org/2000/01/rdf-schema#label
label
(this is a literal)
"imgstr"
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#rotate_image-output1
rotate_image-output1
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
type
(this is a literal)
"str"
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#rotate_image-output1
rotate_image-output1
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
type
http://purl.org/net/p-plan#Variable
Variable
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#rotate_image-output1
rotate_image-output1
http://www.w3.org/2000/01/rdf-schema#label
label
(this is a literal)
"rotate_image-output1"
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#step
step
http://purl.org/dc/terms/description
description
(this is a literal)
"@is_fairstep(label='Rotating an image represented as a string by 180 degrees')
def rotate_image(imgstr:str) -> str:
imgIn = Image.open(io.BytesIO(imgstr))
imgOut = imgIn.transpose(Image.ROTATE_180)
imgOutStr = io.BytesIO()
imgOut.save(imgOutStr, format="png")
return imgOutStr.getvalue()
"
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#step
step
http://purl.org/net/p-plan#hasInputVar
hasInputVar
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#imgstr
imgstr
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#step
step
http://purl.org/net/p-plan#hasOutputVar
hasOutputVar
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#rotate_image-output1
rotate_image-output1
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#step
step
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
type
http://dkm.fbk.eu/index.php/BPMN2_Ontology#ScriptTask
ScriptTask
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#step
step
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
type
http://purl.org/net/p-plan#Step
Step
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#step
step
http://www.w3.org/2000/01/rdf-schema#label
label
(this is a literal)
"Rotating an image represented as a string by 180 degrees"
.
This is the identifier for the assertion of this nanopublication.
http://purl.org/np/RApSN9ryCI...#assertion
The assertion above
http://www.w3.org/ns/prov#generatedAtTime
generatedAtTime
(this is a literal)
"2021-01-26T10:20:33.267939"
.
This is the identifier for this whole nanopublication.
http://purl.org/np/RApSN9ryCI...
This nanopublication
the nanopublication consists of an introduction of the given resource
http://purl.org/nanopub/x/introduces
introduces
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#step
step
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#sig
sig
http://purl.org/nanopub/x/hasSignatureTarget
has as target
This is the identifier for this whole nanopublication.
http://purl.org/np/RApSN9ryCI...
this nanopublication
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#sig
sig
http://purl.org/nanopub/x/hasAlgorithm
has the algorithm
(this is a literal)
"RSA"
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#sig
sig
http://purl.org/nanopub/x/hasPublicKey
has the public key
(this is a literal)
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"
.
This is a local identifier minted within the nanopublication.
http://purl.org/np/RApSN9ryCI...#sig
sig
http://purl.org/nanopub/x/hasSignature
has the signature
(this is a literal)
"DmYmfaOwgEGQnEJlw+XStaZIKlnv7u0uMMz9BALe+OS5gpBoSDnx9PioeOzFy4vW7cPY+fyju8SvQeQu8L602JOYcmzNcTIt6j+dJKDlIVpwOVnyBS+/z40mgqTQ0d+O5o4Bd1sLcD4B2O60GujLEx8ZQ8isPDAyJDK/hpDnAF0="
.
This is the identifier for this whole nanopublication.
http://purl.org/np/RApSN9ryCI...
this nanopublication
http://www.w3.org/ns/prov#generatedAtTime
generatedAtTime
(this is a literal)
"2021-01-26T10:20:33.267939"
.
This is the identifier for this whole nanopublication.
http://purl.org/np/RApSN9ryCI...
this nanopublication
http://www.w3.org/ns/prov#wasAttributedTo
wasAttributedTo
https://orcid.org/0000-0002-1267-0234
Tobias Kuhn
.
References
Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
---|---|---|---|---|---|---|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
RApSN9ryCI
|
Tobias Kuhn
|
2021-01-27T13:20:16.245Z
|