Here you go...
Full code with setup:
https://github.com/maxdemarzi/neography/blob/master/examples/traversal_example2.rb
Interesting bit:
def graduated_with_me(student)
student = student["self"].split('/').last
student_attended = @neo.get_node_relationships(student)[0]
graduated = student_
Hi,
I am new to neo4j and I am having some difficulty figuring out how to query it
to get me what I
need. We are using Ruby and not JRuby so I am trying to do all my queries via
the REST API.
Currently I have a set of "people" nodes and a set of "school" nodes. Each
node has an id field and
Hi Mattias,
I'll try that tomorrow and I'll let you know,
Pablo
On Tue, Feb 22, 2011 at 9:00 PM, Mattias Persson
wrote:
> 2011/2/22 Pablo Pareja
>
> > Hi,
> >
> > I just moved my code to the new index API but I cannot deploy my server.
> > I've already tried with glassfishv3 and jetty and neit
Hi David,
I just found a workaround for it this afternoon.
I moved my neo4j db folder with all the data into the jetty installation
folder and changed the db folder String
using a relative path instead of an absolute one.
(I guess it's not the most elegant one but it works fine so far).
Cheers,
P
Hi Mattias,
thanks for the link, I don't know how but after checking that page a couple
of times I
somehow didn't see/reach the BatchInserter indexing part... (guess I'd be
too tired)
Cheers,
Pablo
On Tue, Feb 22, 2011 at 8:40 PM, Mattias Persson
wrote:
> 2011/2/22 Pablo Pareja
>
> > Hi all,
>
2011/2/22 Pablo Pareja
> Hi,
>
> I just moved my code to the new index API but I cannot deploy my server.
> I've already tried with glassfishv3 and jetty and neither of them works.
> The exception I get is:
>
> java.lang.Exception: java.lang.IllegalStateException:
> ContainerBase.addChild: start:
2011/2/22 Pablo Pareja
> Hi all,
>
> I'm updating my code in order to user the new Indexing API but I have a
> doubt,
> when using the BatchInserter, (at least with the old one) you were supposed
> to use the
> classes LuceneIndexBatchInserter or LuceneFulltextIndexBatchInserter but,
> what about
Pablo,
Did you resolve this, or is this still an issue for you?
David
On Mon, Feb 21, 2011 at 2:08 AM, Pablo Pareja wrote:
> Hi Jim,
>
> I already did it, I'm using a constant defined in the code for the DB
> folder
> which it's the same
> I used for testing things with a really simple jar.
>
Hi,
I just moved my code to the new index API but I cannot deploy my server.
I've already tried with glassfishv3 and jetty and neither of them works.
The exception I get is:
java.lang.Exception: java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.LifecycleException
Well I'm in general interested in having all these different
mechanisms (native (traverse), pipes, gremlin, sparql) to query the
same graph.
That would give so much more flexibility when writing domain methods.
Ideally you would not want to write domain methods at all, but
annotate interfaces with
Hi,
> Got it. It would be great to be able to use Sparql on neo4j or any
> other Blueprint db.
Yea it would.
>
> Do you think it would be possible to map/translate sparql query to
> gremlin/pipes?
I plan to create a new DSL over Gremlin/Pipes that has a syntax flavor like
this. E.g.
x = [];
Got it. It would be great to be able to use Sparql on neo4j or any
other Blueprint db.
Do you think it would be possible to map/translate sparql query to
gremlin/pipes?
Alfredas
> On Tue, Feb 22, 2011 at 5:09 PM, Marko Rodriguez wrote:
>> Hi,
>>
>> I apologize. When I said 1-to-1, I spoke with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/21/2011 05:46 PM, Craig Taverner wrote:
> But now you are running the reIndex method on a database you previously
> shutdown. You need to re-open the database for reIndex to work. Also, you
> should shutdown the batchinserter after the importFile
Yes, in my tests I included jdbm hmap, btree, and jboss cache backed by jdbm
(presumably btree) and got the best performance with jboss cache, followed
closely by btree and hmap a distant third. I would like to test hsql and derby
before finishing.
Thanks,
-Paul
Paul Jackson, Principal Softwa
Hi,
I apologize. When I said 1-to-1, I spoke with exaggeration. You will need to
create a GraphSail from a "blank Neo4jGraph" initially.
Sail sail = new GraphSail(new Neo4jGraph("/tmp/neo4jgraphsail"))
At that point, you can move back and forth. The reason being, GraphSail
requires in
This looks great.
I've encountered a problem when following the example. Here I'm trying
to create a sail out of Neo4jGraph.
java.lang.RuntimeException: No such index exists: edges
at
com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.getIndex(Neo4jGraph.java:113)
at
com.tinkerp
Paul,
Aim considering JDBM also, should be very similar toj the BDB index
approach ... That ,something you would like to see?
On Tuesday, February 22, 2011, Paul A. Jackson wrote:
> I've been doing some research into alternate storage mechanism for exact
> match indexes. I excluded BDB from my
Hey,
> Thanks a lot. Updated to 0.8-SNAPSHOT. Strangely maven did not resolve
> groovy dependence automatically. Had to add it by hand.
Huh? Gremlin 0.8-SNAPSHOT uses Groovy 1.7.8 (which was released maybe 1 week
ago). Gremlin 0.7 was using Groovy 1.7.5. Perhaps something about that was
making
Hi,
> Did anyone have any experience with Neo4j + RDF + SPARQL? Or are there any
> resources worth reading? If so, could someone please point me to such
> resources?..
There is a 1-to-1 RDF mapper in Blueprints. It turns any Blueprints GraphDB
into a Sail-based RDF triple/quad store. Given the 1
I've been doing some research into alternate storage mechanism for exact match
indexes. I excluded BDB from my list because it has a commercial license.
I'll share my findings once I have something concrete.
Thanks.
Paul Jackson, Principal Software Engineer
Pitney Bowes Business Insight
4200
Hi!
2011-02-22 12:53, Craig Taverner skrev:
> I was rather surprised by the setting. 1.2G seems quite large, and then I
> saw 3048MB for the heap! This is why this does not run on my laptop! I've
> set the values down a lot. I think the unit tests should run on most peoples
> computers out the box
I was rather surprised by the setting. 1.2G seems quite large, and then I
saw 3048MB for the heap! This is why this does not run on my laptop! I've
set the values down a lot. I think the unit tests should run on most peoples
computers out the box.
I noticed the github commit said these settings we
There is a rdf-sparql component to Neo4j that could in theory be
configured to be used as a backend for semantic mediawiki.
But you still have better chances to configure smw to use a
triplestore http://en.wikipedia.org/wiki/Triplestore
For more info see: http://www.mediawiki.org/wiki/Extension:Sp
Hi all!
Recently I started exploring things about graph databases in conjunction
with knowledge management and have run across the Neo4j. It now seems to me
that Neo4j can somehow be used with the semantic-mediawiki to store RDF and
quiery Neo4j with SPARQL.
Did anyone have any experience with Neo
Hi all,
I'm updating my code in order to user the new Indexing API but I have a
doubt,
when using the BatchInserter, (at least with the old one) you were supposed
to use the
classes LuceneIndexBatchInserter or LuceneFulltextIndexBatchInserter but,
what about now?
should I just use the new way of i
+1 for optimizing only when necessary.
Having said that, there will always be cases where sharding is necessary.
Mostly a sensible domain-specific decision can be taken, but I was thinking
about what Michael said about traversal statistics, and that is a great
runtime idea beyond what I previously
Hi Mattias,
Does the latest online backup work on backup to a running read only db?
Brendan
On 21 February 2011 23:09, wrote:
> Date: Mon, 21 Feb 2011 15:27:30 +0100
> From: Mattias Persson
> Subject: Re: [Neo4j] Online backup works in full but not incremental
> To: Neo4j user discussions
>
27 matches
Mail list logo