@prefix dct: <
http://purl.org/dc/terms/
> .
@prefix orcid: <
https://orcid.org/
> .
@prefix prov: <
http://www.w3.org/ns/prov#
> .
@prefix this: <
http://purl.org/np/RAGAG_vNmTPo7HpJfZfxV-z7TBWGjltiOHsqyljRlsqMo
> .
@prefix sub: <
http://purl.org/np/RAGAG_vNmTPo7HpJfZfxV-z7TBWGjltiOHsqyljRlsqMo#
> .
@prefix np: <
http://www.nanopub.org/nschema#
> .
@prefix npx: <
http://purl.org/nanopub/x/
> .
@prefix rdfs: <
http://www.w3.org/2000/01/rdf-schema#
> .
@prefix xsd: <
http://www.w3.org/2001/XMLSchema#
> .
sub:Head
{
this:
np:hasAssertion
sub:assertion
;
np:hasProvenance
sub:provenance
;
np:hasPublicationInfo
sub:pubInfo
;
a
np:Nanopublication
.
}
sub:assertion
{
sub:step
dct:description
"""def rotate_image(img:Image) -> Image:
\"\"\"Transforming an image by 180 degrees\"\"\"
out = im.transpose(Image.ROTATE_180)
return out""" ;
rdfs:label
"Cell from a Jupyter Lab notebook" ;
prov:wasDerivedFrom
<
http://purl.org/np/RAGOsaM6E1TmiJ6o89M590Ia6cV2xLGKoQc4WQbFQdlio
> .
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2020-12-10T10:58:03.983007"^^
xsd:dateTime
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" ;
npx:hasSignature
"Uq5uMRJjw0mVTcAGHomdjLv/we3EOzipIXmWjqT3MV7E/a/W3UIENm1p2R0IVY46JXeFAjtZcVv9HbVS2t/oMJkzPUKBryLaWT8TQ/WFC90LTFBrWTQseZLqc5Ew4Fe2OLqBiwX/74Jm+4TrhtGw8mQnqeOadCsFtGHXDKpoVII=" ;
npx:hasSignatureTarget
this:
.
this:
npx:introduces
sub:step
;
prov:generatedAtTime
"2020-12-10T10:58:03.983007"^^
xsd:dateTime
;
prov:wasAttributedTo
orcid:0000-0002-1267-0234
.
}