@prefix dct: <http://purl.org/dc/terms/> .
@prefix orcid: <https://orcid.org/> .
@prefix this: <http://purl.org/np/RAz4eZR-E12YyqX2omtEEcq7IMzvWyyec3pHJ4UMgMuSs> .
@prefix sub: <http://purl.org/np/RAz4eZR-E12YyqX2omtEEcq7IMzvWyyec3pHJ4UMgMuSs#> .
@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 pplan: <http://purl.org/net/p-plan#> .
@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#> .

<http://purl.org/np/RAz4eZR-E12YyqX2omtEEcq7IMzvWyyec3pHJ4UMgMuSs> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubInfo;
  npx:introduces sub:step;
  prov:generatedAtTime "2021-06-10T14:05:30.745845"^^xsd:dateTime;
  prov:wasAttributedTo orcid:0000-0000-0000-0000 .

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 pplan:Variable;
  rdfs:comment "None";
  rdfs:label "image" .

sub:out1 a pplan:Variable;
  rdfs:comment "None";
  rdfs:label "out1" .

sub:step a bpmn:ScriptTask, pplan:Step;
  dct:description """@is_fairstep(label='AWESOME upside down flipper')
# Give it your own name:
def my_awesome_flipper(image):    
    from PIL import Image
    new_image = image.rotate(180)
    return new_image
""";
  dct:language sub:LinguisticSystem;
  pplan:hasInputVar sub:image;
  pplan:hasOutputVar sub:out1;
  rdfs:label "AWESOME upside down flipper" .

sub:assertion prov:generatedAtTime "2021-06-10T14:05:30.745845"^^xsd:dateTime .

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDoGImE9gq6OnZrHOhk/H0wu7KvT0PByP5SfCZY1xSuQIGwAbh5hVIuo9uI+JdoR6qZMBr68j/y9pwjwp1HdqEc0hvxqlLVGa/emnRMsNM3/dY0XKRKvvRIO6hArjSle3Kk4bS93GMs4GFK21uE0ujxSJRAG8K1i0jO4JB9LkDpxQIDAQAB";
  npx:hasSignature "x90padqepHq2Tm+pSzy4YIbxrQFj3JGyr2o6UBcx36MenP31qZP8FsL3ySzf9ENunVkpFYXIzogIB1xzNulH4GfCtEAa5rCUhOcX5iFE+11fr1aeqGauUwHmp7avxpv0dZMFLFKHGoOQGLN/NWTf1P4xDvh/dlrtTMaKbpIzTcY=";
  npx:hasSignatureTarget <http://purl.org/np/RAz4eZR-E12YyqX2omtEEcq7IMzvWyyec3pHJ4UMgMuSs> .

