The README.md provides a quick-start setup for running OCR-APT on the evaluation datasets (DARPA TC3, DARPA OpTC, and NODLINK).
This document offers detailed configuration steps for setting up GraphDB repositories, which may be useful when working with additional datasets.
- Download and install GraphDB Desktop from this link.
- Configure GraphDB instance:
- For GraphDB Desktop, open the Settings window and set the property:
- Name:
graphdb.workbench.importDirectory - Value:
<PATH_TO_GraphDB_INSTANCE>/GraphDB/loading_files/(More details)
- Name:
- For the standalone server (not required for Desktop), edit
conf/graphdb.propertiesin the GraphDB home directory or use the following command:graphdb -s -Dgraphdb.workbench.importDirectory=<PATH_TO_GraphDB_INSTANCE>/GraphDB/loading_files/
- For GraphDB Desktop, open the Settings window and set the property:
- Launch GraphDB Desktop and open the Workbench at
http://localhost:7200/(default port: 7200). - Create three repositories, one for each dataset: Setup → Repositories → Create New Repository → GraphDB Repository.
- Set the dataset name as the Repository ID.
- Select the RDFS-Plus (Optimized) ruleset. (More details).
- Use the following Repository IDs for reproducibility:
darpa-tc3darpa-optc-1daysimulated-nodlink
- Download
loading_files.tar.xzfrom our dataset record, which contains RDF provenance graphs in Turtle format. Extract and move them to<PATH_TO_GraphDB_INSTANCE>/GraphDB/. - Load datasets into their repositories using the Workbench: Import → Server files. Set the dataset Base IRI (e.g.,
https://NODLINK.graph), choose Named Graph, and provide the host IRI (e.g.,https://NODLINK.graph/SimulatedW10). For more details.- For DARPA TC3 datasets, load both the main provenance graph file (e.g.,
cadets_rdfs.ttl) and the attribute file (e.g.,cadets_attributes_rdfs.ttl) into the same Named Graph .
- For DARPA TC3 datasets, load both the main provenance graph file (e.g.,
- Files should be loaded to datasets repositories as follows:
- DARPA TC3 (Repository ID: darpa-tc3):
- load
cadets_rdfs.ttlthencadets_attributes_rdfs.ttlwith the host IRIhttps://DARPA_TC3.graph/cadets - load
theia_rdfs.ttlthentheia_attributes_rdfs.ttlwith the host IRIhttps://DARPA_TC3.graph/theia - load
trace_rdfs.ttlthentrace_attributes_rdfs.ttlwith the host IRIhttps://DARPA_TC3.graph/trace
- load
- DARPA OpTC (Repository ID: darpa-optc-1day):
- load
SysClient0201_1day_rdfs.ttlwith the host IRIhttps://DARPA_OPTC.graph/SysClient0201 - load
SysClient0501_1day_rdfs.ttlwith the host IRIhttps://DARPA_OPTC.graph/SysClient0501 - load
SysClient0051_1day_rdfs.ttlwith the host IRIhttps://DARPA_OPTC.graph/SysClient0051
- load
- NODLINK (Repository ID: simulated-nodlink):
- load
SimulatedUbuntu_rdfs.ttlwith the host IRIhttps://NODLINK.graph/SimulatedUbuntu - load
SimulatedWS12_rdfs.ttlwith the host IRIhttps://NODLINK.graph/SimulatedWS12 - load
SimulatedW10_rdfs.ttlwith the host IRIhttps://NODLINK.graph/SimulatedW10
- load
- DARPA TC3 (Repository ID: darpa-tc3):
- The expected result is to see three repositories listed under Setup → Repositories in the GraphDB Workbench with IDs:
darpa-tc3darpa-optc-1daysimulated-nodlink