https://www.postgresql.org/docs/11/ltree.html#id-1.11.7.30.7
http://people.apache.org/~dongsheng/horak/100309_dag_structures_sql.pdf