Java OGM for Janus

365 views
Skip to first unread message

shrikant pachauri

unread,
Dec 26, 2017, 2:26:31 AM12/26/17
to JanusGraph users
Hi,

I am exploring all the possible OGM alternatives available for the janus graph. I would prefer a OGM written in java. Another thing that would be convenient for me is If we can hold these objects in memory till the application closure, they can possibly be used as a cache.

Regards
Shrikant 

Misha Brukman

unread,
Dec 26, 2017, 5:17:02 PM12/26/17
to shrikant pachauri, JanusGraph users
Hi Shrikant,

Here's one you might want to take a look at: https://github.com/Syncleus/Ferma

It's listed on the "awesome TinkerPop" list: https://github.com/mohataher/awesome-tinkerpop#java

Another one I came across is https://github.com/karthicks/gremlin-ogm

You mentioned you "prefer" Java, but you're making a list of "all possible" alternatives, so here are a few in Python as well:
Caveat: I haven't tried any of these; if you do, please send a note with your experiences to this list (or write a blog post!) and it will be very much appreciated by the community.

Good luck with your project!

Best,
Misha

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/7973bc42-2029-4775-b60e-36042e1ac72a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

David Brown

unread,
Dec 26, 2017, 9:22:49 PM12/26/17
to JanusGraph users
Hello Shrikant,

I would also consider writing a DSL instead of using an OGM. A DSL is similar to an OGM in that it gives you an extra layer of abstraction and helps you structure your data, but you write them in pure Gremlin--no external dependencies or classes to break the flow. Stephen Mallette wrote a great blog post on this [1], and although it targets DSE Graph, the pattern should work fine with Janus. The general TinkerPop docs on DSLs can be found here [2]. I'm not saying you shouldn't use an OGM...just pointing out another option.



On Tuesday, December 26, 2017 at 2:17:02 PM UTC-8, Misha Brukman wrote:
Hi Shrikant,

Here's one you might want to take a look at: https://github.com/Syncleus/Ferma

It's listed on the "awesome TinkerPop" list: https://github.com/mohataher/awesome-tinkerpop#java

Another one I came across is https://github.com/karthicks/gremlin-ogm

You mentioned you "prefer" Java, but you're making a list of "all possible" alternatives, so here are a few in Python as well:
Caveat: I haven't tried any of these; if you do, please send a note with your experiences to this list (or write a blog post!) and it will be very much appreciated by the community.

Good luck with your project!

Best,
Misha
On Tue, Dec 26, 2017 at 2:26 AM, shrikant pachauri <sk.pac...@gmail.com> wrote:
Hi,

I am exploring all the possible OGM alternatives available for the janus graph. I would prefer a OGM written in java. Another thing that would be convenient for me is If we can hold these objects in memory till the application closure, they can possibly be used as a cache.

Regards
Shrikant 

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.

Don Omondi

unread,
Jan 3, 2018, 7:58:52 PM1/3/18
to JanusGraph users
A bit late to the party but I've been writing a gremlin-ogm in php, I know you prefer java but what's great about my library is that it comes pre-configured with a ready Twitter schema and app. So in just about 2 minutes you can put sample data from your own twitter handle in JanusGraph (and other tested gremlin DB's). So you get your recent tweets, retweets, likes, following and followers.

This can help you get started quickly even if you end up using Java.
Enjoy!

Laura Morales

unread,
Jan 4, 2018, 3:50:27 AM1/4/18
to Don Omondi, JanusGraph users
Perhaps a bit off topic here, but is there any OGM that works with RDF stores as well (eg. Fuseki)?
 
 

Sent: Thursday, January 04, 2018 at 1:58 AM
From: "Don Omondi" <don.e....@gmail.com>
To: "JanusGraph users" <janusgra...@googlegroups.com>
Subject: Re: Java OGM for Janus

A bit late to the party but I've been writing a gremlin-ogm[https://github.com/The-Don-Himself/gremlin-ogm] in php, I know you prefer java but what's great about my library is that it comes pre-configured with a ready Twitter schema and app. So in just about 2 minutes you can put sample data from your own twitter handle in JanusGraph (and other tested gremlin DB's). So you get your recent tweets, retweets, likes, following and followers.

char...@google.com

unread,
Aug 1, 2019, 3:31:20 PM8/1/19
to JanusGraph users
Hi Laura,

Yes, there is OLGA: https://ecostruxure.github.io/OLGA/ for RDF Stores !
I used it with Stardog DB.

Thinking of extending OLGA to support an OGM with JanusDB

Best,
Charbel

On Thursday, January 4, 2018 at 3:50:27 AM UTC-5, Laura Morales wrote:
Perhaps a bit off topic here, but is there any OGM that works with RDF stores as well (eg. Fuseki)?
 
 

Sent: Thursday, January 04, 2018 at 1:58 AM
From: "Don Omondi" <don.e...@gmail.com>
Reply all
Reply to author
Forward
0 new messages