# How to visualize a RDF\* graph

**URL:** <https://community.stardog.com/t/how-to-visualize-a-rdf-graph/2697>\
**Category:** Support\
**Created:** [September 11, 2020, 6:36am UTC](https://community.stardog.com/t/how-to-visualize-a-rdf-graph/2697 "2020-09-11T06:36:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mospring](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/mospring/32/825_2.png) [@mospring](https://community.stardog.com/u/mospring)\
**Post date:** [September 11, 2020, 6:36am UTC](https://community.stardog.com/t/how-to-visualize-a-rdf-graph/2697/1 "2020-09-11T06:36:44Z")

</div>

I am quite happy about the RDF\*/SPARQL\* support in Stardog. I have created a construct query that returns an RDF\* graph but now I am unable to visualize this with any graph visualization program. The ones I use do not support RDF\*. Do you have a recommendation? I used to use gephi with semantic web plugin, which doesn't support RDF\*. For a property graph, I'd need either separate node/edge tables or graphml or graphviz output. How can I create this from RDF\*? Any help appreciated.

---

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [September 11, 2020, 11:13am UTC](https://community.stardog.com/t/how-to-visualize-a-rdf-graph/2697/2 "2020-09-11T11:13:31Z")

</div>

Hi,

One method that you could use would be to generate intermediate nodes and reify your edge properties. Say you have the following example from our docs:

```auto
:Pete a { :since 2010 ; :until 2018} :Engineer ;
		:worksAt { :source :HR } :Stardog .

```

You could utilize bnodes to generate the same info without edge properties in it:

```auto
construct {
    ?emp a ?type ;
         :workTimeframe [
             :since ?since ;
             :until ?until 
         ] ;
         :workplaceInfo [
             :worksAt ?place ;
             :source ?source
         ]
}
where {
    <<?emp a ?type>> :since ?since ;
                     :until ?until .
    
    <<?emp :worksAt ?place>> :source ?source .
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [September 25, 2020, 11:13am UTC](https://community.stardog.com/t/how-to-visualize-a-rdf-graph/2697/3 "2020-09-25T11:13:33Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
