Show HN: Modeling Berlin subway lines in graph database(memgraph.com) |
Show HN: Modeling Berlin subway lines in graph database(memgraph.com) |
It may not seem like much, but I really enjoyed working on this project. All comments and feedback are welcome :)
Disclaimer: I am employed at Memgraph.
[1] https://gist.github.com/CliffordAnderson/7fb7473af31f9343f8a...
I guess I'll never get over not liking Cypher queries or the other ways property graph engines query the graph: (MATCH path = (s1:Station)-[r1:CONNECTED_VIA {line: 'U1'}]->(s2:Station))
Seems like standard SPARQL and RDF* work better for me.
[out:json][timeout:60];
area["name"="Berlin"]->.searchArea;
relation["route"="subway"](area.searchArea);
out body;
>;
out skel qt;
Then I could get something like https://pasteboard.co/FTHhZgTPuP9b.png.
Maybe one day I'll try to mimic some GIS functionalities in my Memgraph database :)