Last active
December 20, 2015 08:09
-
-
Save quagly/6098929 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= graphGist generated from spock test Neo4jCypherOneLabel.groovy | |
graphGist asciiDoc file for use at http://gist.neo4j.org/ [GitHub Gist] | |
Generated on Sun Jul 28 08:03:43 PDT 2013 | |
//console | |
query to create plato with philosopher label | |
[source,cypher] | |
---- | |
CREATE (n:Philosopher { name : 'Plato' , url : 'http://dbpedia.org/resource/Plato' }) | |
---- | |
//table | |
query to create Aristotle with philosopher label | |
[source,cypher] | |
---- | |
CREATE (n:Philosopher { name : 'Aristotle' , url : 'http://dbpedia.org/resource/Aristotle' }) | |
---- | |
//table | |
query to return all nodes with label philosopher | |
[source,cypher] | |
---- | |
MATCH p:Philosopher | |
RETURN p as philosopher | |
---- | |
//table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @quagly! This GraphGist no longer works with the latest Neo4j 2.0 milestone build. I've updated it here: https://gist.github.com/cleishm/7313331. Could you update this copy also? Thanks!