1

Is it possible somehow to also show the blank nodes in the visual graph?

I noticed that in the visualization config queries there is a filter using isIRI(...) which makes sure that by default only IRIs are visualized. However removing that filter does not help at all - blank nodes are still not visible, which is a major limitation on the ability to visually expand/navigate the graph.

Even if blank nodes are not useful identifiers, they are necessary to navigate the graph and it's not always feasible to convert them to IRIs.

2 Answers 2

2

Visual graph shows only IRIs with their local name or label. Bnodes by themselves are not meaningful.

But you can construct with SPARQL IRIs from your BNodes' data (using the IRI function to create IRI from whatever string you like). These are virtual nodes that do not exist actually, but exist for visualization.

Customizing visual graphs with your own queries is described here:

https://graphdb.ontotext.com/documentation/9.9/free/devhub/custom-graph-views.html

Sign up to request clarification or add additional context in comments.

Comments

1

As a critique, blank nodes are NEVER "by themselves". In context, they are extremely meaningful. The GraphDB developers have long held a decidedly wrong-headed idea about blank nodes. As a comparison, see AllegroGraph GRUFF which does display blank nodes without issue.

To construct a visual graph in GraphDB showing blank nodes, see https://stackoverflow.com/a/68915302/610310

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.