Fail to get LinkedDataSail up and running (Heroku/Neo4j add-on)

122 views
Skip to first unread message

Michael Hausenblas

unread,
Feb 10, 2012, 8:57:55 AM2/10/12
to gremli...@googlegroups.com
Hi,

I'm participating in the Neo4j challenge [1] with graphoppr [2], a simple, generic LOD data browser. Now, I wanted to use LinkedDataSail but fail to get it up and running in the Neo4j web administration/Gremlin console (via Heroku's dashboard, Neo4j add-on).

Here is my error message:


gremlin> g = new LinkedDataSailGraph(new MemoryStoreSailGraph())
==> startup failed:
==> groovysh_evaluate: 31: unable to resolve class LinkedDataSailGraph
==> @ line 31, column 5.
==> g = new LinkedDataSailGraph(new MemoryStoreSailGraph())


Any ideas?

Cheers,
Michael

[1] http://neo4j-challenge.herokuapp.com/
[2] https://github.com/mhausenblas/graphoppr

Peter Neubauer

unread,
Feb 10, 2012, 11:09:26 AM2/10/12
to gremli...@googlegroups.com, her...@neotechnology.com

Michael,
We haven't deployed the sparql plugin and dependencies onto heroku due to the relative käck of maturity. However maybe you could prototype with github.com/neo4j/sparql-plugin and we try getting it up for you?

Send from a device with crappy keyboard and autocorrection.

/peter

Peter Neubauer

unread,
Feb 10, 2012, 11:15:08 AM2/10/12
to Michael Hausenblas, her...@neotechnology.com, gremlin-users

Damnyouautocorrect.com :-)

Send from a device with crappy keyboard and autocorrection.

/peter

On Feb 10, 2012 5:11 PM, "Michael Hausenblas" <michael.h...@deri.org> wrote:

Peter,



We haven't deployed the sparql plugin and dependencies onto heroku due to the relative käck of maturity.


Riiiiiiiight, I see ;)



However maybe you could prototype with github.com/neo4j/sparql-plugin and we try getting it up for you?



Oh, that would be wonderful, yes! Any help is very much appreciated.


Cheers,
       Michael
--
Dr. Michael Hausenblas, Research Fellow
LiDRC - Linked Data Research Centre
DERI - Digital Enterprise Research Institute
NUIG - National University of Ireland, Galway
Ireland, Europe
Tel. +353 91 495730
http://linkeddata.deri.ie/
http://sw-app.org/about.html

Michael Hausenblas

unread,
Feb 10, 2012, 11:11:27 AM2/10/12
to gremli...@googlegroups.com, her...@neotechnology.com

Peter,


> We haven't deployed the sparql plugin and dependencies onto heroku
> due to the relative käck of maturity.
>

Riiiiiiiight, I see ;)


> However maybe you could prototype with github.com/neo4j/sparql-
> plugin and we try getting it up for you?
>

Marko Rodriguez

unread,
Feb 10, 2012, 12:57:48 PM2/10/12
to gremli...@googlegroups.com
Hi Michael,

Neo4j (and via Heroku) is not deploying with any RDF Sail tools. To use Gremlin+LinkedDataSail, you will need to use it via the TinkerPop stack (http://tinkerpop.com). Apologies if that is confusing. In short, Neo4j simply deploys with Gremlin --- not with anything RDF.

Hope that helps,
Marko.

http://markorodriguez.com

Michael Hausenblas

unread,
Feb 10, 2012, 1:03:08 PM2/10/12
to gremli...@googlegroups.com

Marko,


> Neo4j (and via Heroku) is not deploying with any RDF Sail tools.


> To use Gremlin+LinkedDataSail, you will need to use it via the
> TinkerPop stack (http://tinkerpop.com). Apologies if that is
> confusing. In short, Neo4j simply deploys with Gremlin --- not with
> anything RDF.


He he, yes, that I know - been toying around with both Neo4j and
Tinkerpop for a while now locally. I should have asked the question
more exactly: "how to I set up Tinkerpop/LinkedDataSail on Heroku
+Neo4j". Figured that the SPARQL plugin Peter suggested does not
really fit my bill. Here is what I want to be able to do:

1. Input is a HTTP URI
2. I take it, dereference it, hope that some RDF serialisation comes
back over the wire
3. I load it into Neo4j and render it in graphoppr, additionally I
store it for, what I call 'traces' (aka bread crumbs or history)

Makes sense?

Cheers,
Michael

Joshua Shinavier

unread,
Feb 10, 2012, 1:13:51 PM2/10/12
to gremli...@googlegroups.com
Hi Michael,


On Fri, Feb 10, 2012 at 1:03 PM, Michael Hausenblas
<michael.h...@deri.org> wrote:
[...]


> He he, yes, that I know -  been toying around with both Neo4j and Tinkerpop
> for a while now locally. I should have asked the question more exactly: "how

> to I set up Tinkerpop/LinkedDataSail on Heroku+Neo4j". Figured that the


> SPARQL plugin Peter suggested does not really fit my bill. Here is what I
> want to be able to do:
>
> 1. Input is a HTTP URI
> 2. I take it, dereference it, hope that some RDF serialisation comes back
> over the wire
> 3. I load it into Neo4j and render it in graphoppr, additionally I store it
> for, what I call 'traces' (aka bread crumbs or history)


For that you'll want Blueprints Sail
(com.tinkerpop.blueprints:blueprints-graph-sail), LinkedDataSail
(net.fortytwo:linked-data-sail), and their deps, then if you're using
Gremlin, SailGraph (com.tinkerpop.blueprints:blueprints-sail-graph),
which includes LDS.

Re: thanks @joshsh and @peterneubauer - now testing
https://t.co/nVllD5WI - wondering if there are other options as well
to load RDF stuff?

Well, you can load additional RDF data directly into your GraphSail
instance. I would put it in distinguished named graph(s) to avoid
confusing LinkedDataSail. You will have something like:

Neo4jGraph baseGraph = ...
GraphSail graphSail = new GraphSail(baseGraph);
LinkedDataSail ld = new LinkedDataSail(graphSail);

From there, it's all Sesame API unless you want to use Gremlin + SailGraph.

HTH.

Josh

Peter Neubauer

unread,
Feb 10, 2012, 2:11:09 PM2/10/12
to gremli...@googlegroups.com

Yes,
I am just sayin that the, sparql plugin will pull in all needed dependencies into the server, so you can use everything even through the gremlin plugin then.
Michael, contact me off list and we can test it out.

Send from a device with crappy keyboard and autocorrection.

/peter

Reply all
Reply to author
Forward
0 new messages