The Simple Client is a tool designed to facilitate various Neo4j queries to retrieve information related to data provenance generated by the DPDS tool.
Here is a table summarizing the available provenance queries:
Id | Provenance Query | Input | Output |
---|---|---|---|
PQ1 | All Transformations | Set of operations applied to |
|
PQ2 | Why-provenance | The input data that influenced |
|
PQ3 | How-provenance | The input data and the operations that created |
|
PQ4 | Dataset-level Feature Operation | Set of operations that were applied to feature |
|
PQ5 | Record Operation | Set of operations that were applied to record |
|
PQ6 | Item-level Feature Operation | Set of operations that were applied to |
|
PQ7 | Feature Invalidation | The operation that deleted the feature |
|
PQ8 | Record Invalidation | The operation that deleted the record |
|
PQ9 | Item Invalidation | The operation that deleted the item |
|
PQ10 | Item History | All the elements derived and that will derive from |
|
PQ11 | Record History | All the elements derived and that will derive from |
|
PQ12 | Impact on Feature Spread | The change in feature spread of all operations over a feature of |
|
PQ13 | Impact on Dataset Spread | The change in dataset spread of all operations applied to |
You can execute the Simple Client with different commands to perform specific queries. Below is an example of how to run the program for a specific command:
python main.py
--uri <URI>
--user <USER>
--pwd <PWD>
<COMMAND>
Before running the script, make sure you have properly configured the Python environment by following the instructions described in the installation section.
The following command line arguments are available for the Simple Client:
-
<URI>
: The URI of the Neo4j server (default:bolt://localhost
). -
<USER>
: The username to access Neo4j (default:neo4j
). -
<PWD>
: The password to access Neo4j (default:adminadmin
). -
<COMMAND>
: One of the available commands:all-transformations
why-provenance
how-provenance
dataset-level-feature-operation
record-operation
record-invalidation
item-invalidation
item-level-feature-operation
item-history
record-history
feature-invalidation