@prefix dct: <
http://purl.org/dc/terms/
> .
@prefix orcid: <
https://orcid.org/
> .
@prefix this: <
http://purl.org/np/RALmFK_DWegfg_frtEXfI7bAOnyx6mlwPcVaee6tRZipM
> .
@prefix sub: <
http://purl.org/np/RALmFK_DWegfg_frtEXfI7bAOnyx6mlwPcVaee6tRZipM#
> .
@prefix schema: <
https://schema.org/
> .
@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 dul: <
http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#
> .
@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
{
<
http://purl.org/np/RA4QmiuJeYx9uMarJ3SHaWAKeItS1KzWnAo1TUKZu5IpE#out1
>
pplan:bindsTo
sub:result
.
<
http://purl.org/np/RA4QmiuJeYx9uMarJ3SHaWAKeItS1KzWnAo1TUKZu5IpE#step
>
pplan:isStepOfPlan
sub:plan
.
<
http://purl.org/np/RA8j5thA6AsOZZuozP_fys4bq7fDa8QuHI9Dc9seEpzR8#out1
>
pplan:bindsTo
<
http://purl.org/np/RA4QmiuJeYx9uMarJ3SHaWAKeItS1KzWnAo1TUKZu5IpE#bg_img
> .
<
http://purl.org/np/RA8j5thA6AsOZZuozP_fys4bq7fDa8QuHI9Dc9seEpzR8#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RA4QmiuJeYx9uMarJ3SHaWAKeItS1KzWnAo1TUKZu5IpE#step
> .
sub:LinguisticSystem
a
schema:ComputerLanguage
;
rdfs:label
"python" ;
rdfs:seeAlso
<
https://www.wikidata.org/wiki/Q28865
> ;
owl:versionInfo
"3.7.9.final.0" .
sub:plan
dct:description
"""@is_fairworkflow(label='A workflow combine two images')
def combine_images_workflow(bg_image, fg_image):
blurred_image = blur(bg_image)
transparent_image = white_to_transparency(fg_image)
combined_image = overlay(blurred_image, transparent_image)
return combined_image
""" ;
dct:language
sub:LinguisticSystem
;
a
pplan:Plan
;
rdfs:label
"A workflow combine two images" .
<
http://purl.org/np/RAhghoIHQGX-nL_T1yRZ1kp4dZwAblXLiGSpHlr_I9yoU#out1
>
pplan:bindsTo
<
http://purl.org/np/RA4QmiuJeYx9uMarJ3SHaWAKeItS1KzWnAo1TUKZu5IpE#fg_img
> .
<
http://purl.org/np/RAhghoIHQGX-nL_T1yRZ1kp4dZwAblXLiGSpHlr_I9yoU#step
>
pplan:isStepOfPlan
sub:plan
;
dul:precedes
<
http://purl.org/np/RA4QmiuJeYx9uMarJ3SHaWAKeItS1KzWnAo1TUKZu5IpE#step
> .
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2021-06-14T14:54:09.605729"^^
xsd:dateTime
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5qs1vOATpmVyz3yKjvM8E5TfLUFPQzPgg1JKJxsNSaZAa28Jst9c+rzIOfICxuNfn/c3iG2qLur2zaKxPkAURsI9Dn2ZumFijhoFf3VpsZB3mKNhZ1kLqz/ytIQh/PUAW9c1+lTx/zQZPkHJbUgb7subzMMoJJTMWaZ+VtPrA3QIDAQAB" ;
npx:hasSignature
"pTbLEPefjNwjmVhp48v0VuFMBzHbCuzdJ2vw1UiD7HrN8ll5RE81FvNqWPc3scPiC988YLYRhrX2GRg6h2IA9UehopdA/vu1YG/NQ51Jmyea0qWqX4fYkUmN019YPW6WKMsFNsogJLsoXdldSG0dibK/kPgCau1di95Cb5cR+YI=" ;
npx:hasSignatureTarget
this:
.
this:
npx:introduces
sub:plan
;
prov:generatedAtTime
"2021-06-14T14:54:09.605729"^^
xsd:dateTime
;
prov:wasAttributedTo
orcid:0000-0000-0000-0000
.
}