@prefix dct: .
@prefix orcid: .
@prefix this: .
@prefix sub: .
@prefix schema: .
@prefix np: .
@prefix owl: .
@prefix npx: .
@prefix pplan: .
@prefix xsd: .
@prefix dul: .
@prefix rdfs: .
@prefix prov: .
sub:Head {
this: np:hasAssertion sub:assertion;
np:hasProvenance sub:provenance;
np:hasPublicationInfo sub:pubInfo;
a np:Nanopublication .
}
sub:assertion {
pplan:bindsTo
sub:result .
pplan:isStepOfPlan
sub:plan .
pplan:bindsTo
.
pplan:isStepOfPlan
sub:plan;
dul:precedes .
sub:LinguisticSystem a schema:ComputerLanguage;
rdfs:label "python";
rdfs:seeAlso ;
owl:versionInfo "3.7.9.final.0" .
sub:plan dct:description """@is_fairworkflow(label='A conversion from an image to a pencil sketch of that image')
def my_image_conversion_workflow(inputImg):
new_img_S1 = rgb2gray_image(inputImg)
new_img_S2 = invert_colors(new_img_S1)
new_img_S3 = blur(new_img_S2)
new_img_S4 = blend_image(new_img_S1, new_img_S3)
new_img_S5 = contrast_image(new_img_S4, 5)
return new_img_S5
""";
dct:language sub:LinguisticSystem;
a pplan:Plan;
rdfs:label "A conversion from an image to a pencil sketch of that image" .
pplan:bindsTo
.
pplan:isStepOfPlan
sub:plan;
dul:precedes .
pplan:bindsTo
, .
pplan:isStepOfPlan
sub:plan;
dul:precedes ,
.
pplan:bindsTo
.
pplan:isStepOfPlan
sub:plan;
dul:precedes .
}
sub:provenance {
sub:assertion prov:generatedAtTime "2021-06-14T15:48:31.181892"^^xsd:dateTime .
}
sub:pubInfo {
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCLhcv1SyvzcXgvMXEoNZBLxEmab0CGwZCTDKHjBwxqvchNBVkPtedUGxhxztFu+TkuvdeuaaO2Wn4DJYNkOjCJb/uQHHf8DwlBJ+Damvt4kUZO/AkZ9XIIAbYAizMZMdJmuB9qlv1aJ24fyib12hGLgpgI7Z2Cs5DK+s345J6B8QIDAQAB";
npx:hasSignature "YV5qkMLQfzvUwvYlbNMKahq8By/dEXgvGYFpT5gRtE1kmKXdZQbJenhkR3E+cGbqfRrCBHUacBioQnXnjaSWlJd7hs5jeCR6m8BZWVj885/faSxBIPhatLtg9S84a3OyL6I1Aubs8y4hkPZ7V+2O9OQhNOdchIRwKsU9UUXzkfY=";
npx:hasSignatureTarget this: .
this: npx:introduces sub:plan;
prov:generatedAtTime "2021-06-14T15:48:31.181892"^^xsd:dateTime;
prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}