-
Notifications
You must be signed in to change notification settings - Fork 77
Creating Prov output
The Prov storage allows outputting the provenance data in the following two formats:
-
PROV-N [http://www.w3.org/TR/prov-n]
-
PROV-O [http://www.w3.org/TR/prov-o]
Following is the command to add Prov storage:
add storage Prov outFile=<filepath.extension> ns1prefix=rdfsFile1 ns2prefix=rdfsFile2 ...
outFile
key must be given to specify the output file. The extension of the output file is used to determine in which format to output the data. Use .provn
extension for PROV-N format and .ttl
extension for PROV-O format.
The remaining arguments are optional. They are used to specify the namespace prefixes to be used and the rdf schema files corresponding to each of the namespace prefix given. In each key value pair, key is the namepsace prefix and value is the filesystem path or url to a rdf schema file. Each rdf schema file specified is read and RDFS properties defined in it are extracted. These extracted properties are the annotations used for the vertices and edges. For example, if you are using Audit reporter then you would need to pass as argument to Prov storage the rdfs schema file of Audit reporter. Note: The namespace prefixes prov
and data
are reserved and cannot be used.
The storage can simply be removed using the command:
remove storage Prov
This material is based upon work supported by the National Science Foundation under Grants OCI-0722068, IIS-1116414, and ACI-1547467. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
- Setting up SPADE
- Storing provenance
-
Collecting provenance
- Across the operating system
- Limiting collection to a part of the filesystem
- From an external application
- With compile-time instrumentation
- Using the reporting API
- Of transactions in the Bitcoin blockchain
- Filtering provenance
- Viewing provenance
-
Querying SPADE
- Illustrative example
- Transforming query responses
- Protecting query responses
- Miscellaneous