Hi Brennan, you don't have to provide a huge dataset, everything from 5 to 75 nodes is sufficient.
The GraphGist is not a full fledged app it is to discuss and document a graph model with _some_ sample data and more importantly sensible query use-cases. So it should be good if you type them out. Or you can use the neo4j shell and the "dump" command (available from here: http://localhost:7474/webadmin/#/console/ or via bin/neo4j-shell) to dump the content of your database into a single cypher create statement, that you can use for the setup. Can you raise the non-working things with map / collection / foreach in cypher as neo4j github issues (github.com/neo4j/neo4j/issues) with a quick example (probably after your submission). HTH Cheers Michael Am 31.01.2014 um 11:07 schrieb Brennan Kinney <[email protected]>: > My choice in programming language doesn't have a driver for Neo4j and the > REST api support is only GET and POST. I've just been learning Cypher and > Neo4j with the Neo4j Browser for the past week. > > I'm wanting to ask a question on StackOverflow linking to a GraphGist. I > thought I'd provide a Cypher query to generate sample data though it will > take a long time to type out manually. Is there another way I can provide > working sample data? I thought I might be able to shorten the queries with > loops/variables, though through experimenting ways of iterating through data > is limiting as is working with collections of strings or literal maps. > > I cannot access keys from maps stored in collections? collection[0].key, I > haven't tried but assume collections within collections can't be accessed by > collection[0][0] either? > Literal maps can only access one level, if I have a map that stores another > map as a value I'm unable to access that ones keys? map.key.key > {key:{key:"value"}} as map > Literal maps cannot have key names from other sources eg {map.key:"value"} or > {collection[0]:"value} where the key and collection hold strings. > > FOREACH is limited with what I can do within it and referring to anything > that happened within the FOREACH after is not possible? I could perhaps > create temporary nodes/relationships with properties, then delete those nodes > when no longer needed. > > If I won't have any issues with being limited to only GET and POST with REST > I might have an easier time populating the database. If so is there still a > way to provide the sample data to use with GraphGist? > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
