Re: [Neo4j] Share your interesting graph datasets

2011-08-04 Thread Peter Neubauer
There is the Dbpedia dataset and the imdb one. Anyone who has more
interesting stuff?

/peter

Sent from my phone.
On Aug 4, 2011 11:06 PM, "Michael Hunger" 
wrote:
> Hey,
>
> we've set up a place where we are going to publish interesting graphy
datasets. Those will be easily importable to hosted neo4j servers (e.g. on
heroku).
>
> http://example-data.neo4j.org
>
> So if you have a nice, already imported dataset in your graphs that is
available to be shared publicly please zip it up and put it somewhere where
I can pull it from (dropbox?).
>
> cd data/graph.db
> zip -r -9 ../my_dataset_description.zip .
>
> Thanks so much
>
> Michael
>
> --
> You received this message because you are subscribed to the Google Groups
"neo4jrb" group.
> To post to this group, send email to neo4...@googlegroups.com.
> To unsubscribe from this group, send email to
neo4jrb+unsubscr...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/neo4jrb?hl=en.
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Grails with neo4j ivy doesn't contain class files

2011-08-04 Thread noppanit
So, I ended up manually manage dependencies, this is my BuildConfig.groovy in
case somebody might be facing the same problem as I am and a newbie grails
user.

repositories {
grailsPlugins()
grailsHome()
grailsCentral()

// uncomment the below to enable remote dependency resolution
// from public Maven repositories
mavenLocal()
mavenCentral()

flatDir name:'neo4j', dirs:'/${PATH}/lib/neo4j'

}
dependencies {
// specify dependencies here under either 'build', 'compile',
'runtime', 'test' or 'provided' scopes eg.
compile 'org.seleniumhq.selenium:selenium-java:2.3.1'

compile 'org.neo4j:neo4j-kernel:1.4.1'
compile 'org.neo4j:neo4j-cypher:1.4.1'
compile 'org.neo4j:neo4j-graph-algo:1.4.1'
compile 'org.neo4j:neo4j-graph-matching:1.4.1'
compile 'org.neo4j:neo4j-jmx:1.4.1'
compile 'org.neo4j:neo4j-lucene-index:1.4.1'
compile 'org.neo4j:neo4j-shell:1.4.1'
compile 'org.neo4j:neo4j-udc:1.4.1'
compile 'org.neo4j:lucene-core:3.1.0'
compile 'org.neo4j:scala-library:2.9.0-1'
compile 'org.neo4j:server-api:1.4.1'

}

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Grails-with-neo4j-ivy-doesn-t-contain-class-files-tp3226748p3227090.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Random discovery on the graphviz gallery

2011-08-04 Thread Michael Hunger
Just looked at the graphviz b/c I was thinking about the relationship between 
GEOFF and the dot format.

And saw that at the bottom there was a gallery that I'v not seen before. 
Renderings of ultralarge graphs.

http://www.graphviz.org/Gallery.php
http://www2.research.att.com/~yifanhu/GALLERY/GRAPHS/index.html

Really nice. Will want to look into Tobias' graphviz generator again to render 
some of the larger graphs.
(https://github.com/thobe/neoviz)

Cheers

Michael
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Grails with neo4j ivy doesn't contain class files

2011-08-04 Thread Michael Hunger
You could also provide the dependencies manually.

Can you have a look at:

http://www.grails.org/doc/latest/guide/3.%20Configuration.html
3.7.6 Dependency Reports
3.7.8 Maven Integration


Am 04.08.2011 um 23:23 schrieb noppanit:

> I understand that ivy doesn't support pom.xml. Is there a workaround in
> grails dependencies?
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Grails-with-neo4j-ivy-doesn-t-contain-class-files-tp3226748p3226759.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Indices missing on database copy

2011-08-04 Thread WBT
Nevermind.

The issue was that, on machine B [Mac], the command
g = new Neo4jGraph("~/fulldb/mydbnameCopy2") didn't substitute the ~ for my
home directory.
Instead of accessing the existing database, it quietly created a new
database, which naturally had only the default indices and no data.
I hope the illustration helps somebody else who might make this mistake...
I would also recommend printing some message ("Creating new database at
...") when doing so.

Grace and peace,
WBT

On Thu, Aug 4, 2011 at 5:31 PM, WBT  wrote:

> Hello all,
>
> I have a moderate size Neo4j graph database (>100G) with several manual and
> automatic indices.  It was built on a Linux server that I'll call Machine
> A.
> I can copy [cp] the database directory to another folder on the same
> machine, and it seems to work fine.  I can open the database in Gremlin,
> type g.getIndices(), and it shows me the full list.
> When I copy [scp] the database to another machine, a Mac server I'll call
> B, and run the same version of Gremlin, opening the copied database, all but
> the two default indices are gone:
> gremlin> g.getIndices()
> ==>AUTOMATIC[edges:class
> com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jEdge][autoIndexKeys:null]
> ==>AUTOMATIC[vertices:class
> com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jVertex][autoIndexKeys:null]
>
> I have tried this a few times and made sure that there is nothing accessing
> the database at either the source or destination of the copy.
>
> Are the indices referenced by an absolute pathname, or host name, or
> something like that?  I'd love to figure out why this is happening and how I
> can get the indices on the second copy, without having to re-construct the
> database on that machine.
> Any insight you have into this question would be appreciated.
>
> Thanks,
> WBT
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Grails with neo4j ivy doesn't contain class files

2011-08-04 Thread Michael Hunger
The main org.neo4j/neo4j jar does only contain the transitive dependencies in 
its pom.xml.

Can you look if the other jars are also there:
org.neo4j / neo4j-kernel / * 
and the others 
org.neo4j / neo4j-*

They are all on maven central.
And grails normally does automatic transitive dependency resolution.

Am 04.08.2011 um 23:20 schrieb noppanit:

> Hi,
> 
> I'm not sure if I'm missing something here, I'm using Grails with Grails
> dependencies to resolve any dependencies. This is my BuildConfig.groovy file
> 
> grails.project.dependency.resolution = {
>// inherit Grails' default dependencies
>inherits("global") {
>// uncomment to disable ehcache
>// excludes 'ehcache'
>}
>log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info',
> 'debug' or 'verbose'
>repositories {
>grailsPlugins()
>grailsHome()
>grailsCentral()
>mavenCentral()
> 
>}
>dependencies {
>compile 'org.neo4j:neo4j:1.4.1'
>}
> }
> 
> which runs fine. When I run grails compile it downloads every neo4j-1.4.1
> successfully. However, after finished downloading, it cannot compile because
> of the missing package "org.neo4j" when I look at
> ~/.ivy2/cache/org.neo4j/neo4j/jars. I see the jar file, but when I open the
> jar file I only see pom.xml file, which I think this causes grails thinks
> that neo4j doesn't exists in the repo. How can I resolve this? or I have to
> use maven instead of ivy2? 
> 
> Thanks a lot. 
> T. :)
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Grails-with-neo4j-ivy-doesn-t-contain-class-files-tp3226748p3226748.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Indices missing on database copy

2011-08-04 Thread noppanit
I suppose you could use luke http://code.google.com/p/luke/downloads/list to
have a look that the indices are still there after copying. 


--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Indices-missing-on-database-copy-tp3226778p3226806.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Indices missing on database copy

2011-08-04 Thread Michael Hunger
DId you zip the files up before copying them? Perhaps you forgot -r for 
recursive packaging?

If you copied the files directly you also have to provide a -r flag for 
recursive subdirectory copying.

Could you check if the index files are there on the filesystem (on the source 
and target machine) ?

du -sh graph.db/index/lucene/node/*

Cheers Michael

Am 04.08.2011 um 23:31 schrieb WBT:

> Hello all,
> 
> I have a moderate size Neo4j graph database (>100G) with several manual and
> automatic indices.  It was built on a Linux server that I'll call Machine
> A.
> I can copy [cp] the database directory to another folder on the same
> machine, and it seems to work fine.  I can open the database in Gremlin,
> type g.getIndices(), and it shows me the full list.
> When I copy [scp] the database to another machine, a Mac server I'll call B,
> and run the same version of Gremlin, opening the copied database, all but
> the two default indices are gone:
> gremlin> g.getIndices()
> ==>AUTOMATIC[edges:class
> com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jEdge][autoIndexKeys:null]
> ==>AUTOMATIC[vertices:class
> com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jVertex][autoIndexKeys:null]
> 
> I have tried this a few times and made sure that there is nothing accessing
> the database at either the source or destination of the copy.
> 
> Are the indices referenced by an absolute pathname, or host name, or
> something like that?  I'd love to figure out why this is happening and how I
> can get the indices on the second copy, without having to re-construct the
> database on that machine.
> Any insight you have into this question would be appreciated.
> 
> Thanks,
> WBT
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Indices missing on database copy

2011-08-04 Thread WBT
Hello all,

I have a moderate size Neo4j graph database (>100G) with several manual and
automatic indices.  It was built on a Linux server that I'll call Machine
A.
I can copy [cp] the database directory to another folder on the same
machine, and it seems to work fine.  I can open the database in Gremlin,
type g.getIndices(), and it shows me the full list.
When I copy [scp] the database to another machine, a Mac server I'll call B,
and run the same version of Gremlin, opening the copied database, all but
the two default indices are gone:
gremlin> g.getIndices()
==>AUTOMATIC[edges:class
com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jEdge][autoIndexKeys:null]
==>AUTOMATIC[vertices:class
com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jVertex][autoIndexKeys:null]

I have tried this a few times and made sure that there is nothing accessing
the database at either the source or destination of the copy.

Are the indices referenced by an absolute pathname, or host name, or
something like that?  I'd love to figure out why this is happening and how I
can get the indices on the second copy, without having to re-construct the
database on that machine.
Any insight you have into this question would be appreciated.

Thanks,
WBT
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Grails with neo4j ivy doesn't contain class files

2011-08-04 Thread noppanit
I understand that ivy doesn't support pom.xml. Is there a workaround in
grails dependencies?

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Grails-with-neo4j-ivy-doesn-t-contain-class-files-tp3226748p3226759.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Grails with neo4j ivy doesn't contain class files

2011-08-04 Thread noppanit
Hi,

I'm not sure if I'm missing something here, I'm using Grails with Grails
dependencies to resolve any dependencies. This is my BuildConfig.groovy file

grails.project.dependency.resolution = {
// inherit Grails' default dependencies
inherits("global") {
// uncomment to disable ehcache
// excludes 'ehcache'
}
log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info',
'debug' or 'verbose'
repositories {
grailsPlugins()
grailsHome()
grailsCentral()
mavenCentral()

}
dependencies {
compile 'org.neo4j:neo4j:1.4.1'
}
}

which runs fine. When I run grails compile it downloads every neo4j-1.4.1
successfully. However, after finished downloading, it cannot compile because
of the missing package "org.neo4j" when I look at
~/.ivy2/cache/org.neo4j/neo4j/jars. I see the jar file, but when I open the
jar file I only see pom.xml file, which I think this causes grails thinks
that neo4j doesn't exists in the repo. How can I resolve this? or I have to
use maven instead of ivy2? 

Thanks a lot. 
T. :)

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Grails-with-neo4j-ivy-doesn-t-contain-class-files-tp3226748p3226748.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Share your interesting graph datasets

2011-08-04 Thread Michael Hunger
Hey,

we've set up a place where we are going to publish interesting graphy datasets. 
Those will be easily importable to hosted neo4j servers (e.g. on heroku).

http://example-data.neo4j.org

So if you have a nice, already imported dataset in your graphs that is 
available to be shared publicly please zip it  up and put it somewhere where I 
can pull it from (dropbox?).

cd data/graph.db
zip -r -9 ../my_dataset_description.zip .

Thanks so much

Michael
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Announcing Private Beta of the Neo4j Heroku Add-On

2011-08-04 Thread Michael Hunger
Dear Graphistas,

I'm happy to announce that the Neo4j Add-On went kind of public today by 
entering the private beta
phase at heroku.

If you're a user there just register as beta tester (sending an email to 
b...@heroku.com) and you can use
the Neo4j Add-On.

It provides hosted Neo4j-Servers and is free for the time begin. So check it 
out.

A longer introductory blog post: 
http://blog.neo4j.org/2011/08/heroku-neo4j-add-on-available-in.html

Heroku Documentation page: http://devcenter.heroku.com/articles/neo4j
(password protected for heroku beta-users).

Same content on our wiki: http://wiki.neo4j.org/content/Neo4j_Heroku_Addon

Looking forward to your feedback. 

Cheers

Michael

P.S: Some of the new hosting features will be available as part of the Neo4j 
server offering in the future.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-04 Thread dhsieh
Hi Andreas, thanks for offering a sample application that shows how to
configure webadmin with HA cluster. Kindly let me know when you have the
infomation available in your Wiki, preferrably a link that can be navigated
from the http://wiki.neo4j.org/content/High_Availability_Cluster

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/How-to-run-webadmin-for-high-availability-neo4j-custer-tp3216706p3226135.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-04 Thread dhsieh
Thanks Peter for puting together the new wiki page to help future neo4j users
undersatanding how to use Cypher with the Matrix graph example

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/How-to-run-webadmin-for-high-availability-neo4j-custer-tp3216706p3226115.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] js visualizer from the console

2011-08-04 Thread Peter Neubauer
I don't think so but I have seen at least one project doing very similar
things with Arborjs.

/peter

Sent from my phone.
On Aug 1, 2011 2:14 AM, "Boris Kizelshteyn"  wrote:
> Hey All,
>
> How would I go about re-using that js visualizer that's in the console?
Has
> anyone made a generic version?
>
> Many thanks!
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Property graph model vs. classical approach

2011-08-04 Thread Norbert Tausch
Am 04.08.2011 17:40, schrieb Marko Rodriguez:
> Yo,
>
>> I'm simply confronted with the question 'why do you use such a graph
>> model and not another one based on graph classes'?
>> Hence, I'm gathering pros and cons for the 'property graph' model.
>> Why is an interface like the one of Neo4j provided this way and not in
>> another (e.g. using graph classes). Is there any design or architectural
>> decision we don't know, yet?
>> The longer I think the more I come to the conclusion that important
>> points are: object-oriented representation of a network, and related
>> with that, an 'external' representation of the graph structure that is
>> not bound to a graph class managing the access to the graph structure
>> and the data stored in properties.
>> All other points like performance, or representation of the graph
>> structure, seem to be equivalent to text-book graphs (directed,
>> undirected, etc.), like you already stated out.
> Ah. I remember now -- you are interested in vertex typing (classes). I read 
> your paper on the topic.
>
> Here are my thoughts on the matter. In the world of RDF (which is has nice 
> clear separations), there is the data model (multi-relational graph), the 
> schema language (RDF schema), and the ontology language (OWL). Mixing these 
> layers into a single framework is deadly because you pigeonhole the 
> interpretation of the graph. For example, if you are into classes and type 
> hierarchies (and OO-based instantiations), then you are pigeonholing yourself 
> into close-world semantics and a taxonomical mind-set. Thats great for you if 
> you like that sort of thing---but what about others who wish, lets say to 
> explore evidential logics in which such strongly typed models are not 
> desired. This is also one of my problems with the RDF stack---while keeping 
> the layers separate, RDF/RDFS/OWL is seen as the only layer. And frankly, 
> description logics are not the only useful logics ( 
> http://arxiv.org/abs/0905.3378 ). Now map that to what you are saying about 
> property graphs and vertex typing.
>
> A property graph is a multi-relational graph data model. You can build logic 
> layers atop to implement your worldview as you see fit. It is the job of the 
> database to persist the structure and make it fast to traverse/query. It is 
> the job of the layers above to model and create meaning.
Thanks for the information. I conclude: the property graph model is like
it is due to the wish of flexibility and separation of concerns.
>> Perhaps it is also a problem that the term 'property graph' isn't
>> formally declared in some kind of scientific work and therefore widely
>> unknown, isn't it?
> Science is an industry claiming to be the ruler by which ideas are measured. 
> Ideas do not need science. However, science needs ideas. Do not be sucked 
> into the trap -- you will end up wearing a dusty suit, unhealthy, in some 
> stodgy dinning hall at some conference talking to others who think 
> publications make truth. And worst of all, you will be wearing a name tag.
You're right! ;-)
> Outz,
> Marko.
>
> http://markorodriguez.com
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Property graph model vs. classical approach

2011-08-04 Thread Marko Rodriguez
Yo,

> I'm simply confronted with the question 'why do you use such a graph
> model and not another one based on graph classes'?
> Hence, I'm gathering pros and cons for the 'property graph' model.
> Why is an interface like the one of Neo4j provided this way and not in
> another (e.g. using graph classes). Is there any design or architectural
> decision we don't know, yet?
> The longer I think the more I come to the conclusion that important
> points are: object-oriented representation of a network, and related
> with that, an 'external' representation of the graph structure that is
> not bound to a graph class managing the access to the graph structure
> and the data stored in properties.
> All other points like performance, or representation of the graph
> structure, seem to be equivalent to text-book graphs (directed,
> undirected, etc.), like you already stated out.

Ah. I remember now -- you are interested in vertex typing (classes). I read 
your paper on the topic.

Here are my thoughts on the matter. In the world of RDF (which is has nice 
clear separations), there is the data model (multi-relational graph), the 
schema language (RDF schema), and the ontology language (OWL). Mixing these 
layers into a single framework is deadly because you pigeonhole the 
interpretation of the graph. For example, if you are into classes and type 
hierarchies (and OO-based instantiations), then you are pigeonholing yourself 
into close-world semantics and a taxonomical mind-set. Thats great for you if 
you like that sort of thing---but what about others who wish, lets say to 
explore evidential logics in which such strongly typed models are not desired. 
This is also one of my problems with the RDF stack---while keeping the layers 
separate, RDF/RDFS/OWL is seen as the only layer. And frankly, description 
logics are not the only useful logics ( http://arxiv.org/abs/0905.3378 ). Now 
map that to what you are saying about property graphs and vertex typing.

A property graph is a multi-relational graph data model. You can build logic 
layers atop to implement your worldview as you see fit. It is the job of the 
database to persist the structure and make it fast to traverse/query. It is the 
job of the layers above to model and create meaning.

> Perhaps it is also a problem that the term 'property graph' isn't
> formally declared in some kind of scientific work and therefore widely
> unknown, isn't it?

Science is an industry claiming to be the ruler by which ideas are measured. 
Ideas do not need science. However, science needs ideas. Do not be sucked into 
the trap -- you will end up wearing a dusty suit, unhealthy, in some stodgy 
dinning hall at some conference talking to others who think publications make 
truth. And worst of all, you will be wearing a name tag.

Outz,
Marko.

http://markorodriguez.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] RDF Store Research

2011-08-04 Thread Marko Rodriguez
Hey,

> I have some questions for our research of possible RDF Triple Stores
> with fast graph traversal and fast (fulltext) search. As of now we are
> using OpenRDFs Native and Memory Stores and OpenLink Virtuoso as our
> RDF Triple Store.
> How is the performance compared to OpenRDF Native and Memory Store
> when using Tinkerpop Bluprints with there SAIL Ouplementation?
> Area there any experience, any benchmarks?
> We would also like to do have (fulltext) search in the graph data
> built in. Is Neo4J the right store for that?

The beauty of the Sail Ouplementation model is that it is optimized for both 
index-based queries (spgo) and traversal-based queries. If you look at the 
technologies in OpenRDF, they are very "index-based" (SPARQL, getStatements(), 
etc.). While, with Blueprints GraphSail, you can use this API (implements 
Sail), you can also "drop down" into native Blueprints or Neo4j and thus, have 
a  quad-RDF graph represented as a linked list structure and thus, do fast 
traversals.  It is a bit of the best of both worlds in that sense...

In terms of performance benchmarks, we don't have any right now as GraphSail is 
a recent addition to Blueprints and is still being heavily developed/optimized. 
Also, I believe AllegroGraph has a disk/memory representation these days that 
makes for fast traversals (used in their SNA package) so you might want to 
check them out. Also, see StarDog which is a full Java-based RDF quadstore ( 
http://stardog.com/ ) which has Gremlin as their distributed path-based 
language.

Finally, most RDF stores provide full text search. Moreover, Neo4j does as well.

See ya,
Marko.

http://markorodriguez.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Property graph model vs. classical approach

2011-08-04 Thread Norbert Tausch
Hi Marko,

I'm simply confronted with the question 'why do you use such a graph
model and not another one based on graph classes'?
Hence, I'm gathering pros and cons for the 'property graph' model.
Why is an interface like the one of Neo4j provided this way and not in
another (e.g. using graph classes). Is there any design or architectural
decision we don't know, yet?
The longer I think the more I come to the conclusion that important
points are: object-oriented representation of a network, and related
with that, an 'external' representation of the graph structure that is
not bound to a graph class managing the access to the graph structure
and the data stored in properties.
All other points like performance, or representation of the graph
structure, seem to be equivalent to text-book graphs (directed,
undirected, etc.), like you already stated out.
Perhaps it is also a problem that the term 'property graph' isn't
formally declared in some kind of scientific work and therefore widely
unknown, isn't it?

Best regards

Norbert Tausch


Am 04.08.2011 16:29, schrieb Marko Rodriguez:
> Hey Norbert,
>
>> I'm wondering why Neo4j provides an API based on a property graph model and 
>> is not using the classical graph approach G? 
>> What are the advantages of this architecture? Any thoughts? Is Neo4j 
>> internally really based upon a property graph?
>> What are the disadvantages of a property graph?
> The ordering of ease of modeling for binary graph data structures is in a 
> hierarchy like this:
>
>   G = (V,E \subseteq {V \times V}) (undirected graph)
>   G = (V, E \subseteq (V \times V)) (directed graph)
>   G = (V, E \subseteq (V \times V), \Omega: E -> \Sigma) 
> (multi-relational graph)
>   G = (V, E \subseteq (V \times V), \Omega: E -> \Sigma, P : (V \cup E) 
> -> (\Sigma \times U) (property graph)
>
> RDF is a multi-relational graph. The benefit of the multi-relational graph 
> over the property graph is that it more straightforward when it comes to 
> modeling -- e.g. In property graph modeling, you tend to be confronted with 
> this question: "Is this a property or another vertex?") at the expense of 
> verbosity ("How do I model edge weight with a multi-relational graph?")
>
> However, in theory, what you can express with a property graph, you can 
> express with an undirected graph.
>   http://arxiv.org/abs/0804.0277
>
> Are you talking strictly in terms of expressivity in modeling, or other 
> "compute physics" oriented issues?
>
> See ya,
> Marko.
>
> http://markorodriguez.com
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Property graph model vs. classical approach

2011-08-04 Thread Marko Rodriguez
Hey Norbert,

> I'm wondering why Neo4j provides an API based on a property graph model and 
> is not using the classical graph approach G? 
> What are the advantages of this architecture? Any thoughts? Is Neo4j 
> internally really based upon a property graph?
> What are the disadvantages of a property graph?

The ordering of ease of modeling for binary graph data structures is in a 
hierarchy like this:

G = (V,E \subseteq {V \times V}) (undirected graph)
G = (V, E \subseteq (V \times V)) (directed graph)
G = (V, E \subseteq (V \times V), \Omega: E -> \Sigma) 
(multi-relational graph)
G = (V, E \subseteq (V \times V), \Omega: E -> \Sigma, P : (V \cup E) 
-> (\Sigma \times U) (property graph)

RDF is a multi-relational graph. The benefit of the multi-relational graph over 
the property graph is that it more straightforward when it comes to modeling -- 
e.g. In property graph modeling, you tend to be confronted with this question: 
"Is this a property or another vertex?") at the expense of verbosity ("How do I 
model edge weight with a multi-relational graph?")

However, in theory, what you can express with a property graph, you can express 
with an undirected graph.
http://arxiv.org/abs/0804.0277

Are you talking strictly in terms of expressivity in modeling, or other 
"compute physics" oriented issues?

See ya,
Marko.

http://markorodriguez.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] neo4j.py install problems

2011-08-04 Thread Anders Nawroth
Hi!

Sorry about that, something got wrong after the upgrade to the latest 
MediaWiki version last week. It should work now, could you verify that? 
(I just created a new user myself and could edit pages right after that.)

As Michael wrote, make sure to check what's in the Neo4j Manual as well 
. In some cases fixing wiki 
pages means replacing the contents with a link to the corresponding 
content in the manual.


/anders

On 08/04/2011 11:35 AM, Eddy wrote:
> You need administrator privileges to register someone so you'll have to add
> me yourself. You can use my email address as my user name. Or you could open
> it up to everyone to get some more community involvement happening.
>
> But be warned I might start fixing a lot in the wiki - it's a bit broken in
> a few places!
>
>
> On Thu, Aug 4, 2011 at 1:41 PM, Peter Neubauer [via Neo4j Community
> Discussions]  wrote:
>
>> Eddy,
>> if it is the wiki, do you mind registering and just add it? You seem
>> to have the best overview ...
>>
>> Cheers,
>>
>> /peter neubauer
>>
>> GTalk:  neubauer.peter
>> Skype   peter.neubauer
>> Phone   +46 704 106975
>> LinkedIn   http://www.linkedin.com/in/neubauer
>> Twitter  http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org ">http://www.neo4j.org   - Your
>> high performance graph database.
>> http://startupbootcamp.org/- Öresund - Innovation happens HERE.
>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>>
>>
>>
>> On Wed, Aug 3, 2011 at 11:38 PM, Eddy<[hidden 
>> email]>
>> wrote:
>>
>>> It doesn't have to be anything special, something similar to this
>>> http://wsgi.org/wsgi/Middleware_and_Utilities  is enough and if
>> something
>>> hasn't been updated for a long time or a noticeable lack of support then
>> we
>>> can note it down.
>>>
>>> Either just update the current wiki page
>>> http://wiki.neo4j.org/content/Python or make it a sub-page of that
>>>
>>>
>>>
>>>
>>> On Thu, Aug 4, 2011 at 1:28 PM, Peter Neubauer [via Neo4j Community
>>> Discussions]<[hidden 
>>> email]>
>> wrote:
>>>
 Good idea!

 Do you think we should put a section in the manual and list various
 bindings with their maturity, or just have a Wiki-page for that?

 Cheers,

 /peter neubauer

 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer

 http://www.neo4j.org ">http://www.neo4j.org   -
>> Your
 high performance graph database.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>>



 On Wed, Aug 3, 2011 at 9:20 PM, Eddy<[hidden email]<
>> http://user/SendEmail.jtp?type=node&node=3224575&i=0>>
 wrote:

> Okay, cheers. I think the guys and girls at Neo4j need to list all
>> these
> tools and their status in the wiki somewhere. I think neo4jrestclient
>> and

> bulbflow are others that can be added.
>
>
> On Thu, Aug 4, 2011 at 2:14 AM, Aaron Moffatt [via Neo4j Community
> Discussions]<[hidden email]<
>> http://user/SendEmail.jtp?type=node&node=3224575&i=1>>
 wrote:
>
>> If you don't need "Node Models", I did some work on bindings with
 similar
>> syntax to the neo4j.py bindings.
>>
>> https://github.com/OneSaidWho/neo4py
>>
>>
>> They work with version Neo4j 1.3, using JCC instead of JPype, so
>> should
 be
>> somewhat faster than the current bindings.  They might get you by
>> until
>> Jacob has some time :)
>>
>> Aaron
>>
>>
>> On Mon, Aug 1, 2011 at 11:24 AM, Jacob Hansson<[hidden email]<
 http://user/SendEmail.jtp?type=node&node=3223244&i=0>>
>> wrote:
>>
>>> Hey Eddy,
>>>
>>> sorry about the late reply, I'm on vacation, so I've been checking
 email
>>> rather sporadically.
>>>
>>> I'm not sure exactly what causes your problem, since we seem to
>> have
 lost
>>
>>> the nested exception at some point (presumably a java/jpype/python
>> thing),
>>> but generally, what you are seeing is the under-the-hood database
 saying
>> "I
>>> can't create a database at that location". That could be because it
>>
 does
>>> not
>>> have write access to the folder you give it, or that the folder
>> does
 not
>>> exist. It could also be something more complicated, but make sure
>> that

>> the
>>> process this app runs in has write access, and that the folder
>> exists,

>>> first.
>>>
>>> On the subject of the new neo4j.py bindings, I am currently
>> assigned
 to
>>> them, and will be working

Re: [Neo4j] Remove nodes from Neo4j-spatial layers

2011-08-04 Thread kriti sharma
Thanks Peter,
This worked very well.

On Wed, Aug 3, 2011 at 10:04 AM, Peter Neubauer <
peter.neuba...@neotechnology.com> wrote:

> Kriti,
> in order to remove data from a layer, but not from the database
> itself, you should remove the geometry from the Index associated with
> the Layer.
>
> you can do
>
> Layer layer = spatialService.getLayer(layerName);
> and, since we only use one index implementation right now, the RTree:
>
> ((RTreeIndex)layer.getIndex()).remove( geomNodeId, deleteGeomNode? )
>
> Does that help?
>
> Cheers,
>
> /peter neubauer
>
> GTalk:  neubauer.peter
> Skype   peter.neubauer
> Phone   +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter  http://twitter.com/peterneubauer
>
> http://www.neo4j.org   - Your high performance graph database.
> http://startupbootcamp.org/- Öresund - Innovation happens HERE.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
>
>
> On Tue, Aug 2, 2011 at 11:18 AM, kriti sharma 
> wrote:
> > I have a basic question here,
> > How can I remove nodes / point geometry from a layer in Neo4j spatial?
> > I could find function (delete()) to remove nodes from the layer, but this
> > also deletes the nodes from the database.
> >
> > So, I would like to remove nodes from the spatial layer after I perform
> > findClosestPointsTo calculation and then insert new nodes to the layer
> and
> > so on.
> > I could make new layers each time, but then I would be left with many
> > useless layers in the database.
> >
> > The API description for the delete() method is confusing me further:
> > delete
> >
> > void *delete*(Listener
> > <
> http://components.neo4j.org/neo4j-spatial/snapshot/apidocs/org/neo4j/gis/spatial/Listener.html
> >
> > monitor)
> >
> > Delete the entire layer, including the index. The specific layer
> > implementation will decide if this method should delete also the geometry
> > nodes indexed by this layer. Some implementations have data that only has
> > meaning within a layer, and so will be deleted. Others are simply views
> onto
> > other more complex data models and deleting the geometry nodes might
> imply
> > damage to the model. Keep this in mind when coding implementations of the
> > Layer.
> >
> >
> > Thanks,
> > Kriti
> > ___
> > Neo4j mailing list
> > User@lists.neo4j.org
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] How to run webadmin for high availability neo4j custer?

2011-08-04 Thread Peter Neubauer
Donovan,
I took the Wiki example and put it into the manual as an example.
Please see http://docs.neo4j.org/chunked/snapshot/shell-matrix-example.html
for the details. Is that helpful?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Wed, Aug 3, 2011 at 11:44 PM, dhsieh  wrote:
> Thanks, the 2 Cypher queries you provided work now. In your sample
>
> (1) You put "start x = (*node_auto_index *, name, ...". However, in my
> neo4j.property it has "*node_auto_indexing*=true". They don't really match
> literally, do they?
> (2) Is there a way in Cypher to select all property values as in SQL "select
> *** from ..." rather than literally specifying every property in the return
> list, e.g., return zionist.*name*?
> (2) How does one return node/edge id from Cypher?
>
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/How-to-run-webadmin-for-high-availability-neo4j-custer-tp3216706p3223908.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Property graph model vs. classical approach

2011-08-04 Thread Norbert Tausch
Hi,

I'm wondering why Neo4j provides an API based on a property graph model and is 
not using the classical graph approach G? 
What are the advantages of this architecture? Any thoughts? Is Neo4j internally 
really based upon a property graph?
What are the disadvantages of a property graph?


-- 
Best regards

Norbert Tausch

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] neo4j.py install problems

2011-08-04 Thread Michael Hunger
Eddy,

the problem is the amount of spam we're getting in the wiki.

We're in the process of moving all information that's not from the community 
into the handbook (docs.neo4j.org).

If you have the energy and time of fixing things in the wiki we'd welcome that 
for certain areas (that won't be moved). Please coordinate that with Anders 
Nawroth.

Cheers

Michael

Am 04.08.2011 um 11:35 schrieb Eddy:

> You need administrator privileges to register someone so you'll have to add
> me yourself. You can use my email address as my user name. Or you could open
> it up to everyone to get some more community involvement happening.
> 
> But be warned I might start fixing a lot in the wiki - it's a bit broken in
> a few places!
> 
> 
> On Thu, Aug 4, 2011 at 1:41 PM, Peter Neubauer [via Neo4j Community
> Discussions]  wrote:
> 
>> Eddy,
>> if it is the wiki, do you mind registering and just add it? You seem
>> to have the best overview ...
>> 
>> Cheers,
>> 
>> /peter neubauer
>> 
>> GTalk:  neubauer.peter
>> Skype   peter.neubauer
>> Phone   +46 704 106975
>> LinkedIn   http://www.linkedin.com/in/neubauer
>> Twitter  http://twitter.com/peterneubauer
>> 
>> http://www.neo4j.org ">http://www.neo4j.org   - Your
>> high performance graph database.
>> http://startupbootcamp.org/- Öresund - Innovation happens HERE.
>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>> 
>> 
>> 
>> On Wed, Aug 3, 2011 at 11:38 PM, Eddy <[hidden 
>> email]>
>> wrote:
>> 
>>> It doesn't have to be anything special, something similar to this
>>> http://wsgi.org/wsgi/Middleware_and_Utilities  is enough and if
>> something
>>> hasn't been updated for a long time or a noticeable lack of support then
>> we
>>> can note it down.
>>> 
>>> Either just update the current wiki page
>>> http://wiki.neo4j.org/content/Python or make it a sub-page of that
>>> 
>>> 
>>> 
>>> 
>>> On Thu, Aug 4, 2011 at 1:28 PM, Peter Neubauer [via Neo4j Community
>>> Discussions] <[hidden 
>>> email]>
>> wrote:
>>> 
 Good idea!
 
 Do you think we should put a section in the manual and list various
 bindings with their maturity, or just have a Wiki-page for that?
 
 Cheers,
 
 /peter neubauer
 
 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer
 
 http://www.neo4j.org ">http://www.neo4j.org   -
>> Your
 high performance graph database.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>> 
 
 
 
 On Wed, Aug 3, 2011 at 9:20 PM, Eddy <[hidden email]<
>> http://user/SendEmail.jtp?type=node&node=3224575&i=0>>
 wrote:
 
> Okay, cheers. I think the guys and girls at Neo4j need to list all
>> these
> tools and their status in the wiki somewhere. I think neo4jrestclient
>> and
 
> bulbflow are others that can be added.
> 
> 
> On Thu, Aug 4, 2011 at 2:14 AM, Aaron Moffatt [via Neo4j Community
> Discussions] <[hidden email]<
>> http://user/SendEmail.jtp?type=node&node=3224575&i=1>>
 wrote:
> 
>> If you don't need "Node Models", I did some work on bindings with
 similar
>> syntax to the neo4j.py bindings.
>> 
>> https://github.com/OneSaidWho/neo4py
>> 
>> 
>> They work with version Neo4j 1.3, using JCC instead of JPype, so
>> should
 be
>> somewhat faster than the current bindings.  They might get you by
>> until
>> Jacob has some time :)
>> 
>> Aaron
>> 
>> 
>> On Mon, Aug 1, 2011 at 11:24 AM, Jacob Hansson <[hidden email]<
 http://user/SendEmail.jtp?type=node&node=3223244&i=0>>
>> wrote:
>> 
>>> Hey Eddy,
>>> 
>>> sorry about the late reply, I'm on vacation, so I've been checking
 email
>>> rather sporadically.
>>> 
>>> I'm not sure exactly what causes your problem, since we seem to
>> have
 lost
>> 
>>> the nested exception at some point (presumably a java/jpype/python
>> thing),
>>> but generally, what you are seeing is the under-the-hood database
 saying
>> "I
>>> can't create a database at that location". That could be because it
>> 
 does
>>> not
>>> have write access to the folder you give it, or that the folder
>> does
 not
>>> exist. It could also be something more complicated, but make sure
>> that
 
>> the
>>> process this app runs in has write access, and that the folder
>> exists,
 
>>> first.
>>> 
>>> On the subject of the new neo4j.py bindings, I am currently
>> assigned
 to
>>> them, and will be working on nothing but them until we get a
>> release
>>

Re: [Neo4j] neo4j.py install problems

2011-08-04 Thread Eddy
You need administrator privileges to register someone so you'll have to add
me yourself. You can use my email address as my user name. Or you could open
it up to everyone to get some more community involvement happening.

But be warned I might start fixing a lot in the wiki - it's a bit broken in
a few places!


On Thu, Aug 4, 2011 at 1:41 PM, Peter Neubauer [via Neo4j Community
Discussions]  wrote:

> Eddy,
> if it is the wiki, do you mind registering and just add it? You seem
> to have the best overview ...
>
> Cheers,
>
> /peter neubauer
>
> GTalk:  neubauer.peter
> Skype   peter.neubauer
> Phone   +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter  http://twitter.com/peterneubauer
>
> http://www.neo4j.org ">http://www.neo4j.org   - Your
> high performance graph database.
> http://startupbootcamp.org/- Öresund - Innovation happens HERE.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
>
>
> On Wed, Aug 3, 2011 at 11:38 PM, Eddy <[hidden 
> email]>
> wrote:
>
> > It doesn't have to be anything special, something similar to this
> > http://wsgi.org/wsgi/Middleware_and_Utilities  is enough and if
> something
> > hasn't been updated for a long time or a noticeable lack of support then
> we
> > can note it down.
> >
> > Either just update the current wiki page
> > http://wiki.neo4j.org/content/Python or make it a sub-page of that
> >
> >
> >
> >
> > On Thu, Aug 4, 2011 at 1:28 PM, Peter Neubauer [via Neo4j Community
> > Discussions] <[hidden 
> > email]>
> wrote:
> >
> >> Good idea!
> >>
> >> Do you think we should put a section in the manual and list various
> >> bindings with their maturity, or just have a Wiki-page for that?
> >>
> >> Cheers,
> >>
> >> /peter neubauer
> >>
> >> GTalk:  neubauer.peter
> >> Skype   peter.neubauer
> >> Phone   +46 704 106975
> >> LinkedIn   http://www.linkedin.com/in/neubauer
> >> Twitter  http://twitter.com/peterneubauer
> >>
> >> http://www.neo4j.org ">http://www.neo4j.org   -
> Your
> >> high performance graph database.
> >> http://startupbootcamp.org/- Öresund - Innovation happens HERE.
> >> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>
> >>
> >>
> >>
> >> On Wed, Aug 3, 2011 at 9:20 PM, Eddy <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=3224575&i=0>>
> >> wrote:
> >>
> >> > Okay, cheers. I think the guys and girls at Neo4j need to list all
> these
> >> > tools and their status in the wiki somewhere. I think neo4jrestclient
> and
> >>
> >> > bulbflow are others that can be added.
> >> >
> >> >
> >> > On Thu, Aug 4, 2011 at 2:14 AM, Aaron Moffatt [via Neo4j Community
> >> > Discussions] <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=3224575&i=1>>
> >> wrote:
> >> >
> >> >> If you don't need "Node Models", I did some work on bindings with
> >> similar
> >> >> syntax to the neo4j.py bindings.
> >> >>
> >> >> https://github.com/OneSaidWho/neo4py
> >> >>
> >> >>
> >> >> They work with version Neo4j 1.3, using JCC instead of JPype, so
> should
> >> be
> >> >> somewhat faster than the current bindings.  They might get you by
> until
> >> >> Jacob has some time :)
> >> >>
> >> >> Aaron
> >> >>
> >> >>
> >> >> On Mon, Aug 1, 2011 at 11:24 AM, Jacob Hansson <[hidden email]<
> >> http://user/SendEmail.jtp?type=node&node=3223244&i=0>>
> >> >> wrote:
> >> >>
> >> >> > Hey Eddy,
> >> >> >
> >> >> > sorry about the late reply, I'm on vacation, so I've been checking
> >> email
> >> >> > rather sporadically.
> >> >> >
> >> >> > I'm not sure exactly what causes your problem, since we seem to
> have
> >> lost
> >> >>
> >> >> > the nested exception at some point (presumably a java/jpype/python
> >> >> thing),
> >> >> > but generally, what you are seeing is the under-the-hood database
> >> saying
> >> >> "I
> >> >> > can't create a database at that location". That could be because it
>
> >> does
> >> >> > not
> >> >> > have write access to the folder you give it, or that the folder
> does
> >> not
> >> >> > exist. It could also be something more complicated, but make sure
> that
> >>
> >> >> the
> >> >> > process this app runs in has write access, and that the folder
> exists,
> >>
> >> >> > first.
> >> >> >
> >> >> > On the subject of the new neo4j.py bindings, I am currently
> assigned
> >> to
> >> >> > them, and will be working on nothing but them until we get a
> release
> >> of
> >> >> > them
> >> >> > out. I on vacation this week, and will be travelling and moving
> next
> >> week
> >> >>
> >> >> > (I
> >> >> > will try to get some work done though). After the dust settles,
> I'll
> >> push
> >> >>
> >> >> > hard to get a new version out.
> >> >> >
> >> >> > /Jacob
> >> >> >
> >> >> > On Sun, Jul 24, 2011 at 4:05 AM, Eddy <[hidden email]<
> >> http://user/SendEmail.jtp?type=node&node=3223244&i=1>>
> >> >> wrote:
>

[Neo4j] RDF Store Research

2011-08-04 Thread Thomas Fritz
Hello again!

I have some questions for our research of possible RDF Triple Stores
with fast graph traversal and fast (fulltext) search. As of now we are
using OpenRDFs Native and Memory Stores and OpenLink Virtuoso as our
RDF Triple Store.
How is the performance compared to OpenRDF Native and Memory Store
when using Tinkerpop Bluprints with there SAIL Ouplementation?
Area there any experience, any benchmarks?
We would also like to do have (fulltext) search in the graph data
built in. Is Neo4J the right store for that?

Kind regards


---
Thomas FRITZ
web http://fritzthomas.com
twitter http://twitter.com/thomasf
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] RDF / Graph to Object Mapping Framework

2011-08-04 Thread Thomas Fritz
Hello!

Does anyone have used, implemented or knows any graph to object
mapping frameworks for java, especially for RDF data. I know there is
Tinkerpop. It is already on our list of frameworks - and so is Neo4J.
We just want to evaluate some more. Maybe others benefit of them too.
So far we have:
* http://kplab.tuke.sk/trac/wiki/kms-persistence-3
* http://code.google.com/p/jenabean/
* http://www.openrdf.org/doc/alibaba/2.0-alpha3/
* http://www.openrdf.org/doc/elmo/1.5/
* http://www.tinkerpop.com/ - Especially Blueprints and Frames


Kind regards



---
Thomas FRITZ
web http://fritzthomas.com
twitter http://twitter.com/thomasf
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Delete Nodes connected by a certain relationship

2011-08-04 Thread ahmed.elsharkasy
Thanks a lot for your reply , i managed to fix this error it was apart from
the above code
not i am trying to solve another problems , after deleting all the nodes and
their relationships , i still can see them in the webadmin but without
relationships 

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Delete-Nodes-connected-by-a-certain-relationship-tp3224430p3224748.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Brainstorming on my project: neo4john

2011-08-04 Thread Dmitriy Shabanov
On Mon, Aug 1, 2011 at 9:38 AM, John cyuczieekc wrote:

>
> Another downside to being completely generic is that it doesn't provide
> > people with clues what it can do. This is most noticeable in the
> programming
> >
>
>  I like generic, but indeed it must be complemented by the specific, but
> even then that specific could become the next generic (a subset though of
> the first generic) which would then need another specific(/example)
>  I had an idea once, that I could see something (?) as being formed of two
> things: a processor (ie. CPU; the idea of what it does, not limited to cpu
> ofc) and a database; so these two processor+database would be capable of
> forming another level of processor+database which is based upon them, and
> so
> on, one level inside another ; it's like something needs to change the
> states of whatever the database is storing, this would be the processor
> doing that; and inside that database the stuff that it stores themselves
> could define another set of processor+database which would seem to be
> decoupled from the outer processor+database, and could even be existing
> parallel processor+database... heck sounds like I am even describing
> computers in a network where the outermost engine(processor+database ?) is
> the engine of the universe; and all this can be seen as a hierarchical tree
> (parents/children and siblings too)... I don't know if this can be a goal,
> but this kind of layering processor+database construct (maybe we can call
> it
> engine? or would this mean it's only the processor? I guess by processor I
> mean something that would be willing to change the database based on the
> data that it is in the database, so processor == interpreter, the processor
> itself shouldn't have any ie. registers because these would in fact be part
> of the database, if required; processor just knows how to interpret some
> part of the database such that the instructions in the database cause the
> database to be changed by this processor), so this kind of
> processor+database forming other inner (children and siblings)
> processors+database is sort of what I want to do with neo4john, I guess we
> can call processor+database a system. But as one can guess, all inner
> processors are emulated processors, well since they are based on the
> outermost processor+database... I mean I see this pattern everywhere,
> mostly
> in computers let's say, can think of a program running in its own memory
> space as a processor+database even though you really know it's the parent
> processor aka the CPU doing all the processing, directly even;
>  but by generalizing it like this, into processor+database might make it
> simpler to think about systems, or it's just another way of thinking about
> how it is... (kinda forgot what I wanted to say haha)
>
>
You did describe animo language :-)  animotron.org

We do choose neo4j as memory manager and "question" solving work on
traversals. The language interpretation is something special on this way =)

First release should be soon, in a mouth or two. There are some demos that
run on prototype written on eXist-db with xquery+xsl (very slow, so just
wait a bit).

There is also phantom os idea http://dz.ru/en/solutions/phantom/ & we have a
long term "hope" to run animo on it.

-- 
Dmitriy Shabanov
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Delete Nodes connected by a certain relationship

2011-08-04 Thread Jim Webber
Hi Ahmed,

Can you sketch how your data looks? Otherwise it's hard to see where the NPE 
might occur.

Jim

On 4 Aug 2011, at 08:03, ahmed.elsharkasy wrote:

> i tried this 
> Iterable relations =
> node.getRelationships(DynamicRelationshipType.withName("PRECEDES_" +Id),
> Direction.BOTH);
> 
>Iterator itr = relations.iterator();
> 
>while (itr.hasNext()) {
> 
>Relationship relationship = itr.next();
>relationship.delete();
> 
>}
> 
> and i am having this error
> Exception in thread "main" java.lang.NullPointerException
>at
> org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.nodeLoadLight(ReadTransaction.java:81)
>at
> org.neo4j.kernel.impl.persistence.PersistenceManager.loadLightNode(PersistenceManager.java:82)
>at
> org.neo4j.kernel.impl.core.NodeManager.getNodeForProxy(NodeManager.java:466)
>at
> org.neo4j.kernel.impl.core.NodeProxy.getRelationships(NodeProxy.java:104)
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Delete-Nodes-connected-by-a-certain-relationship-tp3224430p3224527.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] neo4j.py install problems

2011-08-04 Thread Jim Webber
I'd add py2neo too.

Jim


On 4 Aug 2011, at 06:20, Eddy wrote:

> Okay, cheers. I think the guys and girls at Neo4j need to list all these
> tools and their status in the wiki somewhere. I think neo4jrestclient and
> bulbflow are others that can be added.
> 
> 
> On Thu, Aug 4, 2011 at 2:14 AM, Aaron Moffatt [via Neo4j Community
> Discussions]  wrote:
> 
>> If you don't need "Node Models", I did some work on bindings with similar
>> syntax to the neo4j.py bindings.
>> 
>> https://github.com/OneSaidWho/neo4py
>> 
>> 
>> They work with version Neo4j 1.3, using JCC instead of JPype, so should be
>> somewhat faster than the current bindings.  They might get you by until
>> Jacob has some time :)
>> 
>> Aaron
>> 
>> 
>> On Mon, Aug 1, 2011 at 11:24 AM, Jacob Hansson <[hidden 
>> email]>
>> wrote:
>> 
>>> Hey Eddy,
>>> 
>>> sorry about the late reply, I'm on vacation, so I've been checking email
>>> rather sporadically.
>>> 
>>> I'm not sure exactly what causes your problem, since we seem to have lost
>> 
>>> the nested exception at some point (presumably a java/jpype/python
>> thing),
>>> but generally, what you are seeing is the under-the-hood database saying
>> "I
>>> can't create a database at that location". That could be because it does
>>> not
>>> have write access to the folder you give it, or that the folder does not
>>> exist. It could also be something more complicated, but make sure that
>> the
>>> process this app runs in has write access, and that the folder exists,
>>> first.
>>> 
>>> On the subject of the new neo4j.py bindings, I am currently assigned to
>>> them, and will be working on nothing but them until we get a release of
>>> them
>>> out. I on vacation this week, and will be travelling and moving next week
>> 
>>> (I
>>> will try to get some work done though). After the dust settles, I'll push
>> 
>>> hard to get a new version out.
>>> 
>>> /Jacob
>>> 
>>> On Sun, Jul 24, 2011 at 4:05 AM, Eddy <[hidden 
>>> email]>
>> wrote:
>>> 
 Anyone?
 
 Also whats the current status of neo4j.py? I read somewhere it was
>> being
 updated some time ago.
 
 --
 View this message in context:
 
>>> 
>> http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3194919.html
 Sent from the Neo4j Community Discussions mailing list archive at
 Nabble.com.
 ___
 Neo4j mailing list
 [hidden email] 
 https://lists.neo4j.org/mailman/listinfo/user
 
>>> 
>>> 
>>> 
>>> --
>>> Jacob Hansson
>>> Phone: +46 (0) 763503395
>>> Twitter: @jakewins
>>> ___
>>> Neo4j mailing list
>>> [hidden email] 
>>> https://lists.neo4j.org/mailman/listinfo/user
>>> 
>> ___
>> Neo4j mailing list
>> [hidden email] 
>> https://lists.neo4j.org/mailman/listinfo/user
>> 
>> 
>> --
>> If you reply to this email, your message will be added to the discussion
>> below:
>> 
>> http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3223244.html
>> To unsubscribe from neo4j.py install problems, click 
>> here.
>> 
>> 
> 
> 
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/neo4j-py-install-problems-tp3191386p3224364.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> ___
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user