cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Import JSON-LD data in neo4j

Hi,

Did any one load JSON-LD data using apoc.load.json function or cypher?
Please share your thoughts and inputs.

Thanks,
Rajendra

1 ACCEPTED SOLUTION

Not that I know of. I think neosemantics actually depends on APOC to do the JSON-LD import.

View solution in original post

4 REPLIES 4

Hey,

I think you can import JSON-LD data using neosemantics - http://jbarrasa.github.io/neosemantics/

Cheers, Mark

Thank you Mark.
Are there any other options available other than neosemantics like APOC or Cypher?

Thanks,
Rajendra

Not that I know of. I think neosemantics actually depends on APOC to do the JSON-LD import.

After installing APOC & Neosemantics plugins, run the following cypher query.

CALL n10s.graphconfig.init();

CREATE CONSTRAINT n10s_unique_uri ON (r:Resource) ASSERT r.uri IS UNIQUE;

CALL n10s.rdf.import.fetch("file:///C:\Users\name\file_loaction\file_name.jsonld","JSON-LD");

After this step, json-ld file will be loaded and the output will have status OK & total triplets count.

You will find this link useful: Chapter 4. Importing RDF data - Neosemantics(n10s) User Guide