Skip to content

Commit

Permalink
updated instructions for running GraphDB visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
pmcb55 committed Jan 17, 2024
1 parent 5072b60 commit 2e5cfa4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ docs/dist/
docs/.DS_Store
.env*.local
.cache

# Ignore IntelliJ IDE files...
.idea/
*.iml
34 changes: 16 additions & 18 deletions docs/VisualizePodData/VisualizePodData.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ yourself.

## Install Free triplestore on your own machine:

- Go to `https://www.ontotext.com/products/graphdb/graphdb-free/` and register.
(Within a few minutes you should receive a confirmation email with a link to
download and install the triplestore (make sure to keep an eye on your Trash
or Spam folder!)).
- Go to `https://www.ontotext.com/products/graphdb/graphdb-free/` and register
(there’s no longer any need to use a real email address - see the next step!).

- In the confirmation email, select the option to "_Run GraphDB as a desktop
installation_" for your operating system.
- You can wait for the confirmation email and follow the instructions to
_Run GraphDB as a desktop installation_", or just register using any email
address and then simply click on the relevant operating system under the
_GraphDB Download Links_“ section to install GraphDB immediately!.

## Run GraphDB

Expand All @@ -29,31 +29,29 @@ To create a new empty repository:

- From the main menu (on the left-hand-side), select "Setup | Repositories".
- Click the "_Create new repository_" button.
- Select the "_GraphDB Free_" option.
- Select the first "_GraphDB Repository_" option.
- Provide any name (without spaces!) for the "_Repository ID_" field, e.g.,
"inrupt-example".
"Inrupt-SamplePod".
- Click the "_Create_" button at the bottom of the page.

## Load example Pod data:

- From the main menu (on the left-hand-side), select "_Import | RDF_".
- From the main menu (on the left-hand-side), select "_Import_".
- Connect to the repository you’ve just created.
- Select "_Get RDF data from a URL_".
- Cut-and-paste the URL of our example data file:
`https://pod.inrupt.com/pattestburner1/public/PodPat.trig`
- Select the middle option, "_Get RDF data from a URL_".
- Enter the URL of our example Pod data file:
`https://storage.inrupt.com/6441a53f-01c5-478b-b701-52a8797ba988/public/PodPat.trig`
(or import the local file: [../../resources/test/PodPat.trig](../../resources/test/PodPat.trig))
- Click on the "_Import_" button to the right of the filename.
- Just click the "_Import_" button (i.e., there's no need to enter or change
anything).
- Click on the "_Import_".

## Visualize and interact with the Pod data yourself!

- From the main menu (on the left-hand-side), select "_Explore | Visual graph_".
- In the top "_Easy graph_" section, simply copy-and-paste this URL:
`https://pat.best-pod-provider.com/profile/card#me`
- ...and click the "_Show_" button
- Now try double-clicking on the nodes to expand them and explore (see a sample
expanded view [here](./VisualizeExamplePodData.png)).
- **_Now try double-clicking on the nodes to expand them and explore (see a sample
expanded view [here](./VisualizeExamplePodData.png))._**

# UI Navigation Tips

Expand All @@ -63,7 +61,7 @@ To create a new empty repository:
- Hovering over a node pops up a nice icon menu (from which you can remove the
node (just from the visualization, not the database!), etc.), but these icons
only appear if the sidebar is dismissed (so single click the node to dismiss
the sidebar first if needed).
the sidebar first, if needed).
- To ‘restart’ the visualization (e.g., if things get cluttered or confusing),
simply use <Ctrl>-R to refresh and start navigating again.
- Note that the sidebar only displays properties whose values are literals, not
Expand Down

0 comments on commit 2e5cfa4

Please sign in to comment.