title: How to store a tree structure of documents (json) and access each parent or children of children via a RESTful url?
body: <p>for example navigating to <code>localhost/root/parent1/child3/node</code> will show a json document under this <code>path</code> or <code>localhost/root/parent2/</code> will show a json document with an array of links to it's children <code>['localhost/root/parent2/child1', 'localhost/root/parent2/child2/', ...]</code></p>
  
  <p>I need a way to quickly traverse all nodes, do filters like <code>localhost/root?date='05/27/2014'</code> which will return a tree of documents where a node has a modified date matching the date provided. so <code>localhost/root?date='05/27/2014'/parent2/</code> will list only children with modified date matching <code>05/27/2014</code></p>
  
  <p>Would a graph database be best for this or MongoDB? This doesn't seem like an overly custom feature, it's almost like an REST HATEOAS link relationship.</p>