Hi Ryan,

did you see this https://neo4j.com/developer/guide-import-csv/

With plain cypher it's a bit tricky, as you can't have dynamic labels.

LOAD CSV FROM "url/file" AS row
WHERE row.SOURCE_TYPE='PERSON' and row.TARGET_TYPE='ORGANIZATION'
MERGE (p:Person {name:row.SOURCE})
MERGE (o:Organization {name:row.TARGET})
CREATE (p)-[:INTERACTION {type:row.INTERACTION}]->(o)

If you install the apoc extension you can also set dynamic labels and
relationship-types.
Perhaps Georg could help you with the  CyNeo4j plugin?



On Fri, Aug 18, 2017 at 12:33 AM, rw <[email protected]> wrote:

> Hello Neo4jers!
>
> I am a long time Cytoscape user and considering jumping to Neo4j...the
> biggest hurdle is that my technical prowess is lacking. All of my data is
> structured in Excel files in the following format:
>
> *SOURCE, SOURCE TYPE, INTERACTION, TARGET, TARGET TYPE*
> TIM COOK, PERSON, CEO OF, APPLE, ORGANIZATION
> TIM COOK, PERSON, BOARD MEMBER OF, NIKE, ORGANIZATION
> TIM COOK, PERSON, FORMER EXECUTIVE OF, COMPAQ, ORGANIZATION
> STEVE JOBS, PERSON, FORMER CEO OF, APPLE, ORGANIZATION
>
> Etc., etc., etc...
>
> This structure is the preferred format for Cytoscape but how easily can I
> get this into Neo? I tried using the CyNeo4j app but it didn't work (likely
> due to user error). Once I get the data into Neo, I'm comfortable
> performing some very basic Cypher queries. So my question to the group is
> -- how can I *most easily* get this data into Neo?! I need a "Loading
> Data for Dummies" tutorial. Even the YouTube videos I'm finding are too
> complex... :(
>
> Thank you!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to