Skip to content

Commit

Permalink
Split upload instructions for graph backend
Browse files Browse the repository at this point in the history
Fixes #93
  • Loading branch information
surchs committed Sep 25, 2023
1 parent 7dd7ce0 commit 8c6908f
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions docs/infrastructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,19 @@ Next, upload the `.jsonld` file in the directory `neurobagel_examples/data-uploa
Neurobagel annotator, and then [parsing the annotated BIDS
dataset](../cli) with the Neurobagel CLI.

```bash
./add_data_to_graph.sh PATH/TO/neurobagel_examples/data-upload/pheno-bids-output \
localhost:7200 repositories/my_db/statements NewUser NewUserPassword \
--clear-data
```
=== "Stardog"
``` bash
./add_data_to_graph.sh PATH/TO/neurobagel_examples/data-upload/pheno-bids-output \
localhost:5820 my_db NewUser NewUserPassword \
--clear-data
```

=== "graphDB"
``` bash
./add_data_to_graph.sh PATH/TO/neurobagel_examples/data-upload/pheno-bids-output \
localhost:7200 repositories/my_db/statements NewUser NewUserPassword \
--clear-data
```
**Note:** Here we added the `--clear-data` flag to remove any existing data in the database (if the database is empty, the flag has no effect).
You can choose to omit the flag or explicitly specify `--no-clear-data` (default behaviour) to skip this step.

Expand Down

0 comments on commit 8c6908f

Please sign in to comment.