Public
SWIRRL N-API-CREATE

  • Created on 22 Nov 2021 at 15:37
  • by mveldhuizen
  • 10 views
Copy to Clipboard
document
  prefix vargen <http://openprovenance.org/vargen#>
  prefix tmpl <http://openprovenance.org/tmpl#>
  prefix vcard <http://www.w3.org/2006/vcard/ns#>
  prefix var <http://openprovenance.org/var#>
  prefix swirrl <http://swirrl.knmi.nl/ns#>
  prefix rdfs <http://www.w3.org/2000/01/rdf-schema#>
  prefix uuid <urn:uuid:>
  
  bundle vargen:CreateNotebook
    prefix vargen <http://openprovenance.org/vargen#>
    prefix tmpl <http://openprovenance.org/tmpl#>
    prefix vcard <http://www.w3.org/2006/vcard/ns#>
    prefix var <http://openprovenance.org/var#>
    prefix swirrl <http://swirrl.knmi.nl/ns#>
    prefix rdfs <http://www.w3.org/2000/01/rdf-schema#>
    prefix uuid <urn:uuid:>
    
    entity(var:SystemImage, [prov:type='swirrl:SystemImage', prov:type='prov:Plan', rdfs:label='var:imageLabel', prov:location='var:systemImageLocation'])
    entity(var:Volume, [swirrl:volumeId='var:volumeId', prov:type='swirrl:Storage'])
    entity(var:Jupyter, [prov:generatedAt='var:generatedAt', swirrl:poolId='var:poolId', prov:type='swirrl:Notebook', swirrl:sessionId='var:sessionId', prov:location='var:accessurl', swirrl:serviceId='var:notebookId'])
    entity(var:lib, [swirrl:version='var:libversion', swirrl:installationMode='var:installationMode', prov:type='swirrl:Module', swirrl:name='var:libname'])
    entity(var:libList, [prov:type='prov:Plan', prov:value='var:liblistvalue'])
    entity(vargen:libs, [prov:type='swirrl:LibCollection'])
    used(var:CreateJupyter, var:libList, -)
    wasAssociatedWith(var:CreateJupyter, var:user, var:libList)
    wasAssociatedWith(var:CreateJupyter, var:NotebookAPI, var:SystemImage)
    actedOnBehalfOf(var:NotebookAPI, var:user, -)
    activity(var:CreateJupyter, -, -, [tmpl:startTime='var:startTime', swirrl:poolId='var:poolId', prov:type='swirrl:CreateNotebook', tmpl:endTime='var:endTime', swirrl:sessionId='var:sessionId', prov:location='var:method_path', swirrl:serviceId='var:notebookId'])
    agent(var:user, [vcard:uid='var:name', swirrl:authMode='var:authmode', swirrl:group='var:group', prov:type='prov:Person'])
    agent(var:NotebookAPI, [prov:type='prov:SoftwareAgent', rdfs:label='var:name_api'])
    wasGeneratedBy(var:Jupyter, var:CreateJupyter, -)
    hadMember(var:Jupyter, vargen:libs)
    hadMember(vargen:libs, var:lib)
    hadMember(var:Jupyter, var:Volume)
  endBundle
endDocument
        
Bundles
vargen:CreateNotebook
http://openprovenance.org/vargen#CreateNotebook · 6┬ádays, 2┬áhours ago
Download as

PROV-N JSON AdjMatrix
Turtle Trig XML

Export graphic

PDF PNG SVG

Validate Visualisations

Assertions #
entity6
used1
wasAssociatedWith2
actedOnBehalfOf1
activity1
agent2
wasGeneratedBy1
hadMember3