@prefix ns2: <
http://purl.org/dc/elements/1.1/
> .
@prefix this: <
http://purl.org/np/RAr2V0g2sC3-Tzhoy3WIjq7A3Jn3gzAAucwi9LJL30NBo
> .
@prefix sub: <
http://purl.org/np/RAr2V0g2sC3-Tzhoy3WIjq7A3Jn3gzAAucwi9LJL30NBo#
> .
@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:cat
a
p-plan:Variable
.
sub:dog
a
p-plan:Variable
.
sub:step
ns2:description
"""@FairStep(fw)
def add(dog, cat):
\"\"\"
Add two integers together (dog and cat).
\"\"\"
result = dog + cat
return result
""" ;
p-plan:hasInputVar
sub:cat
,
sub:dog
;
a
p-plan:Step
,
bpmn:scriptTask
.
}
sub:provenance
{
sub:assertion
prov:generatedAtTime
"2020-05-14T13:47:52.488777"^^
xsd:dateTime
;
prov:wasAttributedTo
sub:experimentScientist
;
prov:wasDerivedFrom
sub:experiment
.
}
sub:pubInfo
{
sub:sig
npx:hasAlgorithm
"RSA" ;
npx:hasPublicKey
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB" ;
npx:hasSignature
"BRK/r4jAJ8GqUpFa6NNRnqxNYfCkv6PCg5qrEWLo5tU36Jk69Nmh8Ugq5OBrI8ky8p89Mvw4ZQ/i3AoHiuMxufbp7KC0iPxmp2shC0Znif6AZ/KC6Z4LZu5joe137iDSn+MpW3b/flI5CjR+JIcfnnHxLHsaXaDBD8gZMweEHxA=" ;
npx:hasSignatureTarget
this:
.
this:
prov:generatedAtTime
"2020-05-14T13:47:52.488777"^^
xsd:dateTime
;
prov:wasAttributedTo
sub:DrBob
.
}