@prefix dce: <
http://purl.org/dc/elements/1.1/
> .
@prefix this: <
http://purl.org/np/RARFpQrWN6WXy5TWyz8fOf7SYS-tNqOrFObANxgFnbPDk
> .
@prefix sub: <
http://purl.org/np/RARFpQrWN6WXy5TWyz8fOf7SYS-tNqOrFObANxgFnbPDk#
> .
@prefix bpmn: <
https://www.omg.org/spec/BPMN/
> .
@prefix np: <
http://www.nanopub.org/nschema#
> .
@prefix p-plan: <
http://purl.org/net/p-plan#
> .
@prefix prov: <
http://www.w3.org/ns/prov#
> .
@prefix xsd: <
http://www.w3.org/2001/XMLSchema#
> .
@prefix npx: <
http://purl.org/nanopub/x/
> .
sub:Head
{
this:
np:hasAssertion
sub:assertion
;
np:hasProvenance
sub:provenance
;
np:hasPublicationInfo
sub:pubInfo
;
a
np:Nanopublication
.
}
sub:assertion
{
sub:sample_input1
a
p-plan:Variable
.
sub:sample_input2
a
p-plan:Variable
.
sub:step
dce:description
"""#!/usr/bin/env python3
import click
@click.command()
@click.option('--sample_input1')
@click.option('--sample_input2')
def step1(sample_input1, sample_input2):
'''
description of step 1
'''
pass
if __name__ == '__main__':
step1()""" ;
a
p-plan:Step
,
bpmn:scriptTask
.
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2020-04-21T10:53:30.637840"^^
xsd:dateTime
;
prov:wasAttributedTo
sub:experimentScientist
;
prov:wasDerivedFrom
sub:experiment
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCSJ70ftpVCIM5G9QnTMwUS8ojFt9qhgtzICAQqKjaY2z0SJ5va1Y4Za/9pv+8qkuW7ox4CkOT8GQO9WmelNsuN62n56mC4fTw5+o6vLyBrK1Pb/tkwEX/lwwXdeH+Gw4P5x6jhYRf0+wYzdHueAdDNkU9bu7tc2S5TRqDBTeGHYQIDAQAB" ;
npx:hasSignature
"UoFlSBJwaNO/5Fhoxsbzp9/Uvyu166aHX5tX0EPh4iyQSNPRPJH5vuaoB9ohe0pu0dpkkaYB8OftfI/WYKjxMdaYImn8AxIxHOsB+KhfYGwSyEZh3c9kVK+KyyVFUt73oH8xHQxKdncswfWS0fpAbuWoYE/AEkzBrKC3Q8i0S/w=" ;
npx:hasSignatureTarget
this:
.
this:
prov:generatedAtTime
"2020-04-21T10:53:30.637840"^^
xsd:dateTime
;
prov:wasAttributedTo
sub:DrBob
.
}