Re: [Neo4j] Cypher questions

2011-11-02 Thread Michael Hunger
rstand more about > Cypher? > > Appreciated your help. > > A. > > > > > > > From: Michael Hunger > To: Neo4j user discussions > Sent: Wednesday, November 2, 2011 5:31 PM > Subject: Re: [Neo4j] Cypher questions > >

Re: [Neo4j] Cypher questions

2011-11-02 Thread Peter Neubauer
ames. > > Besides the manual what other resources can I find to understand more about > Cypher? > > Appreciated your help. > > A. > > > > > > > From: Michael Hunger > To: Neo4j user discussions > Sent: Wednesday, November

Re: [Neo4j] Cypher questions

2011-11-02 Thread andrew ton
Cypher? Appreciated your help. A.   From: Michael Hunger To: Neo4j user discussions Sent: Wednesday, November 2, 2011 5:31 PM Subject: Re: [Neo4j] Cypher questions Both your questions would be answered with indexing: for the 1) you would add the user nodes them

Re: [Neo4j] Cypher questions

2011-11-02 Thread Michael Hunger
Both your questions would be answered with indexing: for the 1) you would add the user nodes them to a "User" index and then use start user=node:User("id:*") ... For 2) you would index the relationships-similarly (for the interesting types). e.g. create an index for only the rel-type you're int

[Neo4j] Cypher questions

2011-11-02 Thread andrew ton
Hello, I have some questions regarding Cypher. 1. I have an ontology that defines classes and individuals. I store this ontology into Neo4J REST db. Is there any ways to find all individuals that have some given class?  In SPARQL, it can be done like "...WHERE { ?u a :User.}..." to find all