Composition of URN identifiers for each element described in the Alpaca provenance records
| A. | |
|---|---|
| Alpaca ontology class | Identifier |
| DataObjectEntity | urn:[authority]:alpaca:object:Python:[class name]:[object hash] |
| FileEntity | urn:[authority]:alpaca:file:[hash type]:[file hash] |
| FunctionExecution | urn:[authority]:alpaca:function_execution:Python:[script file hash]:[session ID]:[function name]#[execution ID] |
| Function | urn:[authority]:alpaca:function:Python:[function name] |
| ScriptAgent | urn:[authority]:alpaca:script:Python:[script file name]:[script file hash]#[session ID] |
| B. | |
| Identifier element | Description |
| Authority | String defining the authority associated with the records |
| Class name | Name of the object class in Python, with full module path from the source package where it is implemented |
| Object hash | Content hash of the Python object |
| Hash type | Method to hash the file (currently only SHA256 is supported) |
| File hash | Hash value of the file |
| Script file hash | SHA256 hash of the Python file containing the script source code |
| Session ID | UUID generated when activating Alpaca tracking (session ID) |
| Function name | Name of the function, with full module path from the source package |
| Execution ID | UUID generated during the execution of the function (execution ID) |
| Script file name | Name 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.