Can u please help me generate cypher query ?

14 views
Skip to first unread message

Shreyansh shah

unread,
May 9, 2023, 3:07:27 AM5/9/23
to openCypher
Hello Team, I am facing a bit of a work problem,

So i am using metaphors in the problem.

I have imported two ontology using neosemantics in neo4j from RDf/TTL file

Ontology 1. Actor
Ontology 2. Movie

Now import is completed.

Now i have a csv file where both ontology are mapped using "URI" present in SKOS properties.
Column A is having uri's from movie and column 2 is having uri's from actor.

How can i load this csv file to generate relationships b/w already imported ontology.

Basically question is how can map ontologies based on uri matching via CSV ?

If any one please help me .

Hannes Voigt

unread,
May 9, 2023, 4:00:10 AM5/9/23
to openCypher
Hello Shreyansh,

This seems to be a mostly Neo4j-related question, since CVS loading is not part of openCypher.

The best place to ask Neo4j-related questions is here: https://community.neo4j.com/

I'd suggest to ask in the following subcategory, which seem most related to your question: https://community.neo4j.com/c/neo4j-graph-platform/import-export/14

In nutshell, I guess you will need something like:

LOAD CSV ...  // load new data
MATCH ...  // find corresponding existing data
CREATE ... / MERGE ...  // add what you want to add

Thanks + Best
-Hannes
Reply all
Reply to author
Forward
0 new messages