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
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
Subject: Re: [Neo4j] Cypher questions
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
help.
A.
From: Michael Hunger michael.hun...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 2, 2011 5:31 PM
Subject: Re: [Neo4j] Cypher questions
Both your questions would be answered with indexing
4 matches
Mail list logo