You are using the wrong character. It should look like `, and not like '. Does that make sense?
The first line should not even compile. Can you try this: $queryText = "START n=(1) match a-[:`Staat in`]->n return a"; And tell me if that works? Andrés On Mon, Sep 19, 2011 at 5:04 PM, F. De Haes <[email protected]> wrote: > Hi Andrés, > > $queryText = "START n=(1) match a-[:'Staat in']->n return a"; > > 0 results > > $queryText = "START n=(1) match n-->a return a"; > > 104 results > > A bug in neo4jphp? > > Greetings, > Filip > > 2011/9/19 Andres Taylor <[email protected]> > > > On Mon, Sep 19, 2011 at 3:45 PM, F. De Haes <[email protected]> wrote: > > > > > - Relation types give problems in Cypher when they contain a blank > space. > > > Correct? > > > > > > > Not really. You can write like this: > > > > START a = (0) > > MATCH a-[:`Type with space`]->b > > RETURN b > > > > Does that help? > > > > Andrés > > _______________________________________________ > > Neo4j mailing list > > [email protected] > > https://lists.neo4j.org/mailman/listinfo/user > > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

