@prefix this: <http://purl.org/np/RAvMEC3yeOFLJAnEggGBziZr1jfZdvgiDE-KIWmpHXebs> .
@prefix sub: <http://purl.org/np/RAvMEC3yeOFLJAnEggGBziZr1jfZdvgiDE-KIWmpHXebs#> .
@prefix schema: <https://schema.org/> .
@prefix bpmn: <http://dkm.fbk.eu/index.php/BPMN2_Ontology#> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dc1: <http://purl.org/dc/terms/> .
@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#> .
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 pplan:Variable ;
    rdfs:comment "float" ;
    rdfs:label "image" .
  sub:out1 a pplan:Variable ;
    rdfs:comment "float" ;
    rdfs:label "out1" .
  sub:step dc1:description """@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)')
# Give it your own name:
def xiao_func1(image:float) -> float:   
    from PIL import Image, ImageDraw
    chars = \"wow, what a beautiful image!\"
    width, height = image.size
    chars_x, chars_y = int(width/2), int(heigh/2)
    ttf = ImageFont.load_default()
    img_draw = ImageDraw.Draw(image)
    img_draw.text((chars_x, chars_y), chars, font=ttf, fill=(255,0,0))
    return new_image
""" ;
    dc1:language sub:LinguisticSystem ;
    pplan:hasInputVar sub:image ;
    pplan:hasOutputVar sub:out1 ;
    a bpmn:ScriptTask , pplan:Step ;
    rdfs:label "Put here a name of your awesome step (include the word awesome so others will find it)" .
}
sub:provenance {
  sub:assertion prov:generatedAtTime "2021-06-03T08:01:04.416606"^^xsd:dateTime .
}
sub:pubInfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgZzfLhR/M2FA/3TLp/geR/5wvkllui9hj+cDabQlWrgAbIoYOcVnPiMZEkQ/vtCdg+6mfLKOVL9uLSCAGMTrpV+QL5he+oUAebSdyssW7STEO3HNV9ipmY7wCwE0nemC8R4zCNzVzdPUjmtuC19LFDtfx4iiYl5yBKyqo2c3DowIDAQAB" ;
    npx:hasSignature "DWwBDfejoE037RJJls1C/wiRRnwJGu6A4qAOfcrrdjLwwl+cfbgNr9HqLxAozGqLDVgOJW3ZU9GZ+aw4qSEGFPfN33y+Bikz1ZeEoOnwITbrzFwb4a3GDeJAxLsdsX/wgQCCLUigdkYUM3GfLOMJie5JPJb6gGlJUVL7+2YD5qM=" ;
    npx:hasSignatureTarget this: .
  this: npx:introduces sub:step ;
    prov:generatedAtTime "2021-06-03T08:01:04.416606"^^xsd:dateTime ;
    prov:wasAttributedTo <https://orcid.org/0000-0000-0000-0000> .
}