cancel
Showing results for 
Search instead for 
Did you mean: 

Importing a RDF file for visualization purposes from scratch

I am trying to visualize a Knowledge graph from an RDF file. I have both the RDF file as well as the URL for it which as I saw in some official documentation is required. I have the neo4j desktop app and I am really new to using it. So if someone can help from the start of the Neo4j desktop app Including creating projects also because I am not really sure how to start a project as well as it asks for some database but doe not allow me to upload my RDF file. At the end of it all, I want to see the visual form of the knowledge graph in the RDF file without performing any queries on it. A step by step beginner-friendly process would be great to have.

1 REPLY 1

adam_cowley
Neo4j
Neo4j

Hey! Sorry for the late reply.

Hopefully the Neo4j Desktop Developer Guide will guide you through the process of setting up a project and database.

Because you have a URL, you can use the procedures ending with .fetch. You could also copy and paste the RDF and use .fetch.

For example to preview what the graph would look like in Neo4j, you could run:

CALL n10s.rdf.preview.fetch(
  'https://raw.githubusercontent.com/jbarrasa/neosemantics/3.5/docs/rdf/nsmntx.ttl',
  'Turtle' 
)

You can use the namespace/mapping procedures to change how the data is stored in Neo4j. Then once you're happy you can swap preview for import:

CALL n10s.rdf.import.fetch(
  'https://raw.githubusercontent.com/jbarrasa/neosemantics/3.5/docs/rdf/nsmntx.ttl',
  'Turtle' 
)

I've built a Graph App that will guide you through the installation process and help you get familiar with the library. You can install it by clicking Install on install.graphapp.io.

Let me know if you have any more questions or any feedback on the graph app.