Very Short Example Graph Gist
Example Graph Gist
Set Up a Graph to Show You and Your Likes
CREATE (you:Person {name:"You"})-[like:LIKE]->(us:Database:NoSql:Graph {name:"Neo4j" })
RETURN you, like, us
Render results as a graph with: //graph_result
like this:
Or the full graph with //graph
Query the Graph to Show All the Things You Like
MATCH (you:Person {name:"You"})-[like:LIKE]->(liked)
RETURN you.name AS who, type(like) AS how, liked.name AS what
Render the results as a table with: //table
like this:
This document is a GraphGist itself, so you can use the green Page Source button on top of the page to see the original AsciiDoc document. |
Is this page helpful?