3 ms·
"They do not allow structure-preserving querying. That is, I query a graph and want the results to be a smaller graph." I'm not sure what you mean by this. The
by UltraSane 2y ago
"They do not allow structure-preserving querying. That is, I query a graph and want the results to be a smaller graph."
I'm not sure what you mean by this. The result of a query in neo4j is a set of nodes with specified relations linking them. It is much more flexible than the way SQL can only return a single table.
- smarx007 2y agoQuery result in openCypher is a similar rectangular result set like in SQL. See openCypher spec p. 74.
- UltraSane 2y ago"In the RETURN part of your query, you define which parts of the pattern you are interested in. It can be nodes, relationships, or properties on these" you can return all nodes, relationships, and paths that match a query by using this syntax MATCH p = (a {name: 'A'})-[r]->(b) RETURN * This is the exact opposite of a rectangular result set.