It always depends on your use-cases.

In general the property graph model is more pragmatic than RDF, it is
closer to the object model.

* Type information becomes a label or relationship-type
* Numeric, String and boolean properties (as well as collections
thereof) become properties on nodes or relationships, this applies to
objects without further importance that would make it necessary to
treat them as entities or value nodes (e.g. as part of a
recommendation traversal)
* simple connections (links) or qualifying connections e.g. WROTE
become relationship unless they are important enough for the
_use_case_ to become a node

These are some general recommendations, you might also want to check out:

http://watch.neo4j.org/video/73485354
http://de.slideshare.net/neo4j/designing-and-building-a-graph-database-application-architectural-choices-data-modeling-and-testing-ian-robinson-graphconnect-ny-2013-28056565

On 4/30/14, Rich Morin <[email protected]> wrote:
> YAGO2s is a mechanically-generated ontology, based on DBPedia,
> GeoNames, and WordNet.  It is huge (~310 million RDF triples)
> and combines a great deal of linguistic and real-world data:
>
>   http://www.mpi-inf.mpg.de/yago-naga/yago
>
>   http://wiki.cfcl.com/Projects/YAGO/WebHome
>   http://wiki.cfcl.com/Projects/YAGO/Contents
>   http://wiki.cfcl.com/Projects/YAGO/Predicates
>   http://wiki.cfcl.com/Projects/YAGO/Exploration
>
> I'm getting ready to load YAGO2s into Neo4j and I'd like some info
> on Best Practices for representing RDF in Neo4j.  I've found some
> pages which describe the mechanics of loading RDF, but not much on
> the best general approach.  Here, FWIW, is my current notion:
>
>  *  Each subject becomes a node.
>  *  Numeric objects become node attributes.
>  *  Other objects become (connected) nodes.
>
> So, for example:
>
>   (Gaviota_State_Park hasArea:1.128E7) -[linksTo]-> (California)
>
> Once I have things loaded in this manner, I expect to use Cypher to
> explore the graph and help me decide what ancillary indexes and
> links I'll need.  Any comments or suggestions?
>
> -r
>
>  --
> http://www.cfcl.com/rdm           Rich Morin           [email protected]
> http://www.cfcl.com/rdm/resume    San Bruno, CA, USA   +1 650-873-7841
>
> Software system design, development, and documentation
>
>
> --
> 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