Table 2.

Composition of URN identifiers for each element described in the Alpaca provenance records

A.
Alpaca ontology classIdentifier
DataObjectEntityurn:[authority]:alpaca:object:Python:[class name]:[object hash]
FileEntityurn:[authority]:alpaca:file:[hash type]:[file hash]
FunctionExecutionurn:[authority]:alpaca:function_execution:Python:[script file hash]:[session ID]:[function name]#[execution ID]
Functionurn:[authority]:alpaca:function:Python:[function name]
ScriptAgenturn:[authority]:alpaca:script:Python:[script file name]:[script file hash]#[session ID]
B.
Identifier elementDescription
AuthorityString defining the authority associated with the records
Class nameName of the object class in Python, with full module path from the source package where it is implemented
Object hashContent hash of the Python object
Hash typeMethod to hash the file (currently only SHA256 is supported)
File hashHash value of the file
Script file hashSHA256 hash of the Python file containing the script source code
Session IDUUID generated when activating Alpaca tracking (session ID)
Function nameName of the function, with full module path from the source package
Execution IDUUID generated during the execution of the function (execution ID)
Script file nameName of the file containing the source code
  • A, general schema for the composition of the identifier associated with each class in the ontology. B, details of identifier parts mentioned between brackets in A.